Fix for name mismatch and omitted colons in the security_list_options documentation.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -502,7 +502,7 @@ · 501 unmodified lines | ||
| 502 | 502 | * Return 0 if permission is granted. |
| 503 | 503 | * @file_lock: |
| 504 | 504 | * Check permission before performing file locking operations. |
| 505 | − * Note: this hook mediates both flock and fcntl style locks. | |
| 505 | + * Note the hook mediates both flock and fcntl style locks. | |
| 506 | 506 | * @file contains the file structure. |
| 507 | 507 | * @cmd contains the posix-translated lock operation to perform |
| 508 | 508 | * (e.g. F_RDLCK, F_WRLCK). |
| @@ -645,12 +645,12 @@ · 136 unmodified lines | ||
| 645 | 645 | * @p contains the task_struct of process. |
| 646 | 646 | * @nice contains the new nice value. |
| 647 | 647 | * Return 0 if permission is granted. |
| 648 | − * @task_setioprio | |
| 648 | + * @task_setioprio: | |
| 649 | 649 | * Check permission before setting the ioprio value of @p to @ioprio. |
| 650 | 650 | * @p contains the task_struct of process. |
| 651 | 651 | * @ioprio contains the new ioprio value |
| 652 | 652 | * Return 0 if permission is granted. |
| 653 | − * @task_getioprio | |
| 653 | + * @task_getioprio: | |
| 654 | 654 | * Check permission before getting the ioprio value of @p. |
| 655 | 655 | * @p contains the task_struct of process. |
| 656 | 656 | * Return 0 if permission is granted. |
| @@ -680,7 +680,7 @@ · 23 unmodified lines | ||
| 680 | 680 | * @p. |
| 681 | 681 | * @p contains the task_struct for process. |
| 682 | 682 | * Return 0 if permission is granted. |
| 683 | − * @task_movememory | |
| 683 | + * @task_movememory: | |
| 684 | 684 | * Check permission before moving memory owned by process @p. |
| 685 | 685 | * @p contains the task_struct for process. |
| 686 | 686 | * Return 0 if permission is granted. |
| @@ -904,9 +904,9 @@ · 217 unmodified lines | ||
| 904 | 904 | * @secmark_relabel_packet: |
| 905 | 905 | * check if the process should be allowed to relabel packets to |
| 906 | 906 | * the given secid |
| 907 | − * @security_secmark_refcount_inc | |
| 907 | + * @secmark_refcount_inc: | |
| 908 | 908 | * tells the LSM to increment the number of secmark labeling rules loaded |
| 909 | − * @security_secmark_refcount_dec | |
| 909 | + * @secmark_refcount_dec: | |
| 910 | 910 | * tells the LSM to decrement the number of secmark labeling rules loaded |
| 911 | 911 | * @req_classify_flow: |
| 912 | 912 | * Sets the flow's sid to the openreq sid. |
| @@ -1294,8 +1294,8 @@ · 381 unmodified lines | ||
| 1294 | 1294 | * Return 0 if permission is granted. |
| 1295 | 1295 | * @settime: |
| 1296 | 1296 | * Check permission to change the system time. |
| 1297 | − * struct timespec64 is defined in include/linux/time64.h and timezone | |
| 1298 | − * is defined in include/linux/time.h | |
| 1297 | + * struct timespec64 is defined in <include/linux/time64.h> and timezone | |
| 1298 | + * is defined in <include/linux/time.h> | |
| 1299 | 1299 | * @ts contains new time |
| 1300 | 1300 | * @tz contains new timezone |
| 1301 | 1301 | * Return 0 if permission is granted. |
| @@ -1337,7 +1337,7 @@ · 35 unmodified lines | ||
| 1337 | 1337 | * @audit_rule_init: |
| 1338 | 1338 | * Allocate and initialize an LSM audit rule structure. |
| 1339 | 1339 | * @field contains the required Audit action. |
| 1340 | − * Fields flags are defined in include/linux/audit.h | |
| 1340 | + * Fields flags are defined in <include/linux/audit.h> | |
| 1341 | 1341 | * @op contains the operator the rule uses. |
| 1342 | 1342 | * @rulestr contains the context where the rule will be applied to. |
| 1343 | 1343 | * @lsmrule contains a pointer to receive the result. |
| @@ -1375,9 +1375,7 @@ · 31 unmodified lines | ||
| 1375 | 1375 | * this hook to initialize the security context in its incore inode to the |
| 1376 | 1376 | * value provided by the server for the file when the server returned the |
| 1377 | 1377 | * file's attributes to the client. |
| 1378 | − * | |
| 1379 | 1378 | * Must be called with inode->i_mutex locked. |
| 1380 | − * | |
| 1381 | 1379 | * @inode we wish to set the security context of. |
| 1382 | 1380 | * @ctx contains the string which we wish to set in the inode. |
| 1383 | 1381 | * @ctxlen contains the length of @ctx. |
| @@ -1390,9 +1388,7 @@ · 6 unmodified lines | ||
| 1390 | 1388 | * this hook to change the security context in its incore inode and on the |
| 1391 | 1389 | * backing filesystem to a value provided by the client on a SETATTR |
| 1392 | 1390 | * operation. |
| 1393 | − * | |
| 1394 | 1391 | * Must be called with inode->i_mutex locked. |
| 1395 | − * | |
| 1396 | 1392 | * @dentry contains the inode we wish to set the security context of. |
| 1397 | 1393 | * @ctx contains the string which we wish to set in the inode. |
| 1398 | 1394 | * @ctxlen contains the length of @ctx. |
| @@ -1400,7 +1396,6 @@ · 1 unmodified line | ||
| 1400 | 1396 | * @inode_getsecctx: |
| 1401 | 1397 | * On success, returns 0 and fills out @ctx and @ctxlen with the security |
| 1402 | 1398 | * context for the given @inode. |
| 1403 | − * | |
| 1404 | 1399 | * @inode we wish to get the security context of. |
| 1405 | 1400 | * @ctx is a pointer in which to place the allocated security context. |
| 1406 | 1401 | * @ctxlen points to the place to put the length of @ctx. |