Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skalnik/3210-project-1
https://github.com/skalnik/3210-project-1
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skalnik/3210-project-1
- Owner: skalnik
- License: mit
- Created: 2012-02-05T17:28:39.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T18:57:05.000Z (almost 10 years ago)
- Last Synced: 2024-10-18T15:26:08.979Z (3 months ago)
- Language: C
- Homepage:
- Size: 110 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
3210 Project 1
==============Leap Frog random number generator kernel module!
Install Module
--------------On factor-3210:
make
scp lfprng.ko factor007:~On factor007
sudo su
insmod lfprng.koRemove Module
-------------rmmod lfprng
Misc
----In `read_proc_lfprng` (the callback for when a user reads), the if block gets
executed as long as thread_count is not set (-1), and that's where the number
generation should go, since its only executed once. There's no check currently
if there are not enough numbers, but that should be quite easy to check for.In `write_proc_lfprng` the user input is converted to an integer and
`user_seed` is set to that.