Skip to content

Commit

Permalink
1.35, add support for 4.14+ kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
josenk committed Dec 26, 2017
1 parent ea9dfbf commit 77bc33a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srandom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <linux/module.h>
#include <linux/version.h>
#include <linux/slab.h> /* For kalloc */
#include <asm/uaccess.h> /* For copy_to_user */
#include <linux/uaccess.h> /* For copy_to_user */
#include <linux/miscdevice.h> /* For misc_register (the /dev/srandom) device */
#include <linux/time.h> /* For getnstimeofday */
#include <linux/proc_fs.h> /* For /proc filesystem */
Expand All @@ -14,7 +14,7 @@
#define arr_RND_SIZE 67 /* Size of Array */
#define num_arr_RND 16 /* Number of 512b Array (Must be power of 2) */
#define sDEVICE_NAME "srandom" /* Dev name as it appears in /proc/devices */
#define AppVERSION "1.34"
#define AppVERSION "1.35"
#define PAID 0

#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0)
Expand Down

0 comments on commit 77bc33a

Please sign in to comment.