Lines Matching defs:cmd
2635 * @cmd: ioctl cmd
2645 int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
2647 return call_int_hook(file_ioctl, 0, file, cmd, arg);
2654 * @cmd: ioctl cmd
2662 int security_file_ioctl_compat(struct file *file, unsigned int cmd,
2665 return call_int_hook(file_ioctl_compat, 0, file, cmd, arg);
2762 * @cmd: lock operation (e.g. F_RDLCK, F_WRLCK)
2769 int security_file_lock(struct file *file, unsigned int cmd)
2771 return call_int_hook(file_lock, 0, file, cmd);
2777 * @cmd: fcntl command
2780 * Check permission before allowing the file operation specified by @cmd from
2788 int security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
2790 return call_int_hook(file_fcntl, 0, file, cmd, arg);
3589 * @cmd: operation
3591 * Check permission when a message control operation specified by @cmd is to be
3596 int security_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd)
3598 return call_int_hook(msg_queue_msgctl, 0, msq, cmd);
3693 * @cmd: operation
3695 * Check permission when a shared memory control operation specified by @cmd is
3700 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
3702 return call_int_hook(shm_shmctl, 0, shp, cmd);
3776 * @cmd: operation
3778 * Check permission when a semaphore operation specified by @cmd is to be
3783 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd)
3785 return call_int_hook(sem_semctl, 0, sma, cmd);
5178 * @cmd: command
5184 * check the specific cmd they need.
5188 int security_bpf(int cmd, union bpf_attr *attr, unsigned int size)
5190 return call_int_hook(bpf, 0, cmd, attr, size);