random: fix comment on proc_do_uuid
There's only one function here now, as uuid_strategy is long gone. Also make the bit about "If accesses via ..." clearer. Signed-off-by: Greg Price <price@mit.edu> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
dfd38750db
commit
f22052b202
1 changed files with 4 additions and 4 deletions
|
@ -1512,13 +1512,13 @@ static int max_write_thresh = INPUT_POOL_WORDS * 32;
|
||||||
static char sysctl_bootid[16];
|
static char sysctl_bootid[16];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These functions is used to return both the bootid UUID, and random
|
* This function is used to return both the bootid UUID, and random
|
||||||
* UUID. The difference is in whether table->data is NULL; if it is,
|
* UUID. The difference is in whether table->data is NULL; if it is,
|
||||||
* then a new UUID is generated and returned to the user.
|
* then a new UUID is generated and returned to the user.
|
||||||
*
|
*
|
||||||
* If the user accesses this via the proc interface, it will be returned
|
* If the user accesses this via the proc interface, the UUID will be
|
||||||
* as an ASCII string in the standard UUID format. If accesses via the
|
* returned as an ASCII string in the standard UUID format; if via the
|
||||||
* sysctl system call, it is returned as 16 bytes of binary data.
|
* sysctl system call, as 16 bytes of binary data.
|
||||||
*/
|
*/
|
||||||
static int proc_do_uuid(struct ctl_table *table, int write,
|
static int proc_do_uuid(struct ctl_table *table, int write,
|
||||||
void __user *buffer, size_t *lenp, loff_t *ppos)
|
void __user *buffer, size_t *lenp, loff_t *ppos)
|
||||||
|
|
Loading…
Add table
Reference in a new issue