Skip to content

Commit 936615f

Browse files
Pairmanpcmoore
authored andcommitted
lsm: fix typos in security/security.c comment headers
This commit fixes several typos in comment headers in security/security.c where "Check is" should be "Check if". Signed-off-by: Pairman Guo <[email protected]> [PM: subject line tweak] Signed-off-by: Paul Moore <[email protected]>
1 parent b6c0dec commit 936615f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

security/security.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,7 @@ int security_file_send_sigiotask(struct task_struct *tsk,
29552955
}
29562956

29572957
/**
2958-
* security_file_receive() - Check is receiving a file via IPC is allowed
2958+
* security_file_receive() - Check if receiving a file via IPC is allowed
29592959
* @file: file being received
29602960
*
29612961
* This hook allows security modules to control the ability of a process to
@@ -3182,7 +3182,7 @@ int security_kernel_create_files_as(struct cred *new, struct inode *inode)
31823182
}
31833183

31843184
/**
3185-
* security_kernel_module_request() - Check is loading a module is allowed
3185+
* security_kernel_module_request() - Check if loading a module is allowed
31863186
* @kmod_name: module name
31873187
*
31883188
* Ability to trigger the kernel to automatically upcall to userspace for
@@ -4155,7 +4155,7 @@ int security_netlink_send(struct sock *sk, struct sk_buff *skb)
41554155
}
41564156

41574157
/**
4158-
* security_ismaclabel() - Check is the named attribute is a MAC label
4158+
* security_ismaclabel() - Check if the named attribute is a MAC label
41594159
* @name: full extended attribute name
41604160
*
41614161
* Check if the extended attribute specified by @name represents a MAC label.
@@ -4528,7 +4528,7 @@ int security_socket_accept(struct socket *sock, struct socket *newsock)
45284528
}
45294529

45304530
/**
4531-
* security_socket_sendmsg() - Check is sending a message is allowed
4531+
* security_socket_sendmsg() - Check if sending a message is allowed
45324532
* @sock: sending socket
45334533
* @msg: message to send
45344534
* @size: size of message

0 commit comments

Comments
 (0)