Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 12 of 12) sorted by relevance

/security/tomoyo/
A Dtomoyo.c313 unsigned long arg) in tomoyo_file_fcntl() argument
315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
318 O_WRONLY | (arg & O_APPEND)); in tomoyo_file_fcntl()
348 unsigned long arg) in tomoyo_file_ioctl() argument
A Dcondition.c30 struct tomoyo_path_info arg; in tomoyo_argv() local
32 arg.name = arg_ptr; in tomoyo_argv()
39 tomoyo_fill_path_info(&arg); in tomoyo_argv()
40 result = tomoyo_path_matches_pattern(&arg, argv->value); in tomoyo_argv()
/security/loadpin/
A Dloadpin.c385 static long dm_verity_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in dm_verity_ioctl() argument
387 void __user *uarg = (void __user *)arg; in dm_verity_ioctl()
/security/integrity/ima/
A Dima.h333 #define __ima_stringify(arg) (#arg) argument
A Dima_policy.c1381 static unsigned int ima_parse_appraise_algos(char *arg) in ima_parse_appraise_algos() argument
1387 while ((token = strsep(&arg, ",")) != NULL) { in ima_parse_appraise_algos()
/security/smack/
A Dsmack_lsm.c83 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix() argument
93 *arg = s + len + 1; in match_opt_prefix()
732 char *arg = NULL; in smack_sb_eat_lsm_opts() local
739 token = match_opt_prefix(from, len, &arg); in smack_sb_eat_lsm_opts()
741 arg = kmemdup_nul(arg, from + len - arg, GFP_KERNEL); in smack_sb_eat_lsm_opts()
742 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts()
743 kfree(arg); in smack_sb_eat_lsm_opts()
1690 unsigned long arg) in smack_file_ioctl() argument
1751 unsigned long arg) in smack_file_fcntl() argument
/security/apparmor/
A Dlsm.c1990 value = !!*((int *)kp->arg); in param_set_aaintbool()
1992 kp_local.arg = &value; in param_set_aaintbool()
1996 *((int *)kp->arg) = *((bool *)kp_local.arg); in param_set_aaintbool()
2012 value = !!*((int *)kp->arg); in param_get_aaintbool()
2014 kp_local.arg = &value; in param_get_aaintbool()
A Dpolicy_unpack.c829 static int datacmp(struct rhashtable_compare_arg *arg, const void *obj) in datacmp() argument
832 const char * const *key = arg->key; in datacmp()
A Dpolicy.c223 static void aa_free_data(void *ptr, void *arg) in aa_free_data() argument
/security/selinux/
A Dhooks.c426 *arg = s + len + 1; in match_opt_prefix()
2608 char *arg = NULL; in selinux_sb_eat_lsm_opts() local
2616 if (arg) { in selinux_sb_eat_lsm_opts()
2622 arg = kmemdup_nul(arg, q - arg, GFP_KERNEL); in selinux_sb_eat_lsm_opts()
2623 if (!arg) { in selinux_sb_eat_lsm_opts()
2629 kfree(arg); in selinux_sb_eat_lsm_opts()
2630 arg = NULL; in selinux_sb_eat_lsm_opts()
3843 unsigned long arg) in selinux_file_ioctl() argument
3890 unsigned long arg) in selinux_file_ioctl_compat() argument
3913 return selinux_file_ioctl(file, cmd, arg); in selinux_file_ioctl_compat()
[all …]
/security/
A Dsecurity.c2941 int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in security_file_ioctl() argument
2943 return call_int_hook(file_ioctl, file, cmd, arg); in security_file_ioctl()
2959 unsigned long arg) in security_file_ioctl_compat() argument
2961 return call_int_hook(file_ioctl_compat, file, cmd, arg); in security_file_ioctl_compat()
3074 int security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg) in security_file_fcntl() argument
3076 return call_int_hook(file_fcntl, file, cmd, arg); in security_file_fcntl()
/security/landlock/
A Dfs.c1761 unsigned long arg) in hook_file_ioctl() argument
1767 unsigned long arg) in hook_file_ioctl_compat() argument

Completed in 68 milliseconds