Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: random.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* include/linux/random.h
[2] Fix | Delete
*
[3] Fix | Delete
* Include file for the random number generator.
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
#ifndef _LINUX_RANDOM_H
[7] Fix | Delete
#define _LINUX_RANDOM_H
[8] Fix | Delete
[9] Fix | Delete
#include <linux/types.h>
[10] Fix | Delete
#include <linux/ioctl.h>
[11] Fix | Delete
#include <linux/irqnr.h>
[12] Fix | Delete
[13] Fix | Delete
/* ioctl()'s for the random number generator */
[14] Fix | Delete
[15] Fix | Delete
/* Get the entropy count. */
[16] Fix | Delete
#define RNDGETENTCNT _IOR( 'R', 0x00, int )
[17] Fix | Delete
[18] Fix | Delete
/* Add to (or subtract from) the entropy count. (Superuser only.) */
[19] Fix | Delete
#define RNDADDTOENTCNT _IOW( 'R', 0x01, int )
[20] Fix | Delete
[21] Fix | Delete
/* Get the contents of the entropy pool. (Superuser only.) */
[22] Fix | Delete
#define RNDGETPOOL _IOR( 'R', 0x02, int [2] )
[23] Fix | Delete
[24] Fix | Delete
/*
[25] Fix | Delete
* Write bytes into the entropy pool and add to the entropy count.
[26] Fix | Delete
* (Superuser only.)
[27] Fix | Delete
*/
[28] Fix | Delete
#define RNDADDENTROPY _IOW( 'R', 0x03, int [2] )
[29] Fix | Delete
[30] Fix | Delete
/* Clear entropy count to 0. (Superuser only.) */
[31] Fix | Delete
#define RNDZAPENTCNT _IO( 'R', 0x04 )
[32] Fix | Delete
[33] Fix | Delete
/* Clear the entropy pool and associated counters. (Superuser only.) */
[34] Fix | Delete
#define RNDCLEARPOOL _IO( 'R', 0x06 )
[35] Fix | Delete
[36] Fix | Delete
/* Reseed CRNG. (Superuser only.) */
[37] Fix | Delete
#define RNDRESEEDCRNG _IO( 'R', 0x07 )
[38] Fix | Delete
[39] Fix | Delete
struct rand_pool_info {
[40] Fix | Delete
int entropy_count;
[41] Fix | Delete
int buf_size;
[42] Fix | Delete
__u32 buf[0];
[43] Fix | Delete
};
[44] Fix | Delete
[45] Fix | Delete
/*
[46] Fix | Delete
* Flags for getrandom(2)
[47] Fix | Delete
*
[48] Fix | Delete
* GRND_NONBLOCK Don't block and return EAGAIN instead
[49] Fix | Delete
* GRND_RANDOM Use the /dev/random pool instead of /dev/urandom
[50] Fix | Delete
*/
[51] Fix | Delete
#define GRND_NONBLOCK 0x0001
[52] Fix | Delete
#define GRND_RANDOM 0x0002
[53] Fix | Delete
[54] Fix | Delete
#endif /* _LINUX_RANDOM_H */
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function