aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/acct.c1
-rw-r--r--kernel/auditsc.c7
2 files changed, 4 insertions, 4 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index 4c613de6602..126ca43d5d2 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -521,6 +521,7 @@ static void do_acct_process(struct file *file)
521 521
522/** 522/**
523 * acct_init_pacct - initialize a new pacct_struct 523 * acct_init_pacct - initialize a new pacct_struct
524 * @pacct: per-process accounting info struct to initialize
524 */ 525 */
525void acct_init_pacct(struct pacct_struct *pacct) 526void acct_init_pacct(struct pacct_struct *pacct)
526{ 527{
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 9ebd96fda29..bdfb580a067 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1367,7 +1367,7 @@ int __audit_mq_open(int oflag, mode_t mode, struct mq_attr __user *u_attr)
1367 * @mqdes: MQ descriptor 1367 * @mqdes: MQ descriptor
1368 * @msg_len: Message length 1368 * @msg_len: Message length
1369 * @msg_prio: Message priority 1369 * @msg_prio: Message priority
1370 * @abs_timeout: Message timeout in absolute time 1370 * @u_abs_timeout: Message timeout in absolute time
1371 * 1371 *
1372 * Returns 0 for success or NULL context or < 0 on error. 1372 * Returns 0 for success or NULL context or < 0 on error.
1373 */ 1373 */
@@ -1409,8 +1409,8 @@ int __audit_mq_timedsend(mqd_t mqdes, size_t msg_len, unsigned int msg_prio,
1409 * __audit_mq_timedreceive - record audit data for a POSIX MQ timed receive 1409 * __audit_mq_timedreceive - record audit data for a POSIX MQ timed receive
1410 * @mqdes: MQ descriptor 1410 * @mqdes: MQ descriptor
1411 * @msg_len: Message length 1411 * @msg_len: Message length
1412 * @msg_prio: Message priority 1412 * @u_msg_prio: Message priority
1413 * @abs_timeout: Message timeout in absolute time 1413 * @u_abs_timeout: Message timeout in absolute time
1414 * 1414 *
1415 * Returns 0 for success or NULL context or < 0 on error. 1415 * Returns 0 for success or NULL context or < 0 on error.
1416 */ 1416 */
@@ -1558,7 +1558,6 @@ int __audit_ipc_obj(struct kern_ipc_perm *ipcp)
1558 * @uid: msgq user id 1558 * @uid: msgq user id
1559 * @gid: msgq group id 1559 * @gid: msgq group id
1560 * @mode: msgq mode (permissions) 1560 * @mode: msgq mode (permissions)
1561 * @ipcp: in-kernel IPC permissions
1562 * 1561 *
1563 * Returns 0 for success or NULL context or < 0 on error. 1562 * Returns 0 for success or NULL context or < 0 on error.
1564 */ 1563 */