Home
last modified time | relevance | path

Searched refs:domainname (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/security/tomoyo/
Ddomain.c230 && p1->domainname == p2->domainname in tomoyo_same_transition_control()
248 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control() local
250 if (domainname) { in tomoyo_write_transition_control()
251 *domainname = '\0'; in tomoyo_write_transition_control()
252 domainname += 6; in tomoyo_write_transition_control()
255 domainname = program; in tomoyo_write_transition_control()
265 if (domainname && strcmp(domainname, "any")) { in tomoyo_write_transition_control()
266 if (!tomoyo_correct_domain(domainname)) { in tomoyo_write_transition_control()
267 if (!tomoyo_correct_path(domainname)) in tomoyo_write_transition_control()
271 e.domainname = tomoyo_get_name(domainname); in tomoyo_write_transition_control()
[all …]
Dutil.c554 bool tomoyo_correct_domain(const unsigned char *domainname) in tomoyo_correct_domain() argument
556 if (!domainname || !tomoyo_domain_def(domainname)) in tomoyo_correct_domain()
558 domainname = strchr(domainname, ' '); in tomoyo_correct_domain()
559 if (!domainname++) in tomoyo_correct_domain()
562 const unsigned char *cp = strchr(domainname, ' '); in tomoyo_correct_domain()
566 if (!tomoyo_correct_path2(domainname, cp - domainname)) in tomoyo_correct_domain()
568 domainname = cp + 1; in tomoyo_correct_domain()
570 return tomoyo_correct_path(domainname); in tomoyo_correct_domain()
607 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname) in tomoyo_find_domain() argument
612 name.name = domainname; in tomoyo_find_domain()
[all …]
Dsecurityfs_if.c25 return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname); in tomoyo_check_task_acl()
63 r.param.task.domainname = &name; in tomoyo_write_self()
103 const char *domain = tomoyo_domain()->domainname->name; in tomoyo_read_self()
Dcommon.h491 const struct tomoyo_path_info *domainname; member
684 const struct tomoyo_path_info *domainname; member
701 const struct tomoyo_path_info *domainname; member
854 const struct tomoyo_path_info *domainname; /* Maybe NULL */ member
933 bool tomoyo_correct_domain(const unsigned char *domainname);
1031 struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname,
1034 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname);
1038 (const char *domainname);
Dcommon.c942 const struct tomoyo_path_info *domainname = tomoyo_domain()->domainname; in tomoyo_manager() local
957 (!tomoyo_pathcmp(domainname, ptr->manager) || in tomoyo_manager()
969 domainname->name, exe); in tomoyo_manager()
1049 return p1->domainname == p2->domainname; in tomoyo_same_task_acl()
1068 .domainname = tomoyo_get_domainname(param), in tomoyo_write_task()
1071 if (e.domainname) in tomoyo_write_task()
1075 tomoyo_put_name(e.domainname); in tomoyo_write_task()
1089 static int tomoyo_delete_domain(char *domainname) in tomoyo_delete_domain() argument
1094 name.name = domainname; in tomoyo_delete_domain()
1105 tomoyo_pathcmp(domain->domainname, &name)) in tomoyo_delete_domain()
[all …]
Daudit.c253 const char *domainname = r->domain->domainname->name; in tomoyo_init_log() local
259 len += strlen(domainname) + strlen(header) + 10; in tomoyo_init_log()
289 pos += snprintf(buf + pos, len - pos, "\n%s\n", domainname); in tomoyo_init_log()
Dgc.c114 tomoyo_put_name(ptr->domainname); in tomoyo_del_transition_control()
236 tomoyo_put_name(entry->domainname); in tomoyo_del_acl()
267 tomoyo_put_name(domain->domainname); in tomoyo_del_domain()
Dmemory.c205 tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>"); in tomoyo_mm_init()
/kernel/linux/linux-5.10/kernel/
Dutsname_sysctl.c107 .data = init_uts_ns.name.domainname,
108 .maxlen = sizeof(init_uts_ns.name.domainname),
Dsys.c1391 memcpy(u->domainname, tmp, len); in SYSCALL_DEFINE2()
1392 memset(u->domainname + len, 0, sizeof(u->domainname) - len); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_32.c208 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2()
212 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
Dsys_sparc_64.c534 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2()
538 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dutsname.h30 char domainname[__NEW_UTS_LEN + 1]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dutsname.h31 char domainname[__NEW_UTS_LEN + 1]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dutsname.h43 char domainname[__NEW_UTS_LEN + 1]; member
/kernel/linux/linux-5.10/init/
Dversion.c35 .domainname = UTS_DOMAINNAME,
/kernel/linux/linux-5.10/fs/cifs/
Ddfs_cache.c1165 if (vol->domainname) { in dup_vol()
1166 new->domainname = kstrndup(vol->domainname, in dup_vol()
1167 strlen(vol->domainname), GFP_KERNEL); in dup_vol()
1168 if (!new->domainname) in dup_vol()
1190 kfree(new->domainname); in dup_vol()
Dconnect.c2055 kfree(vol->domainname); in cifs_parse_mount_options()
2056 vol->domainname = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
2057 if (!vol->domainname) { in cifs_parse_mount_options()
2987 vol->domainname = kstrndup(ses->domainName, in cifs_set_cifscreds()
2990 if (!vol->domainname) { in cifs_set_cifscreds()
3095 if (volume_info->domainname) { in cifs_get_smb_ses()
3096 ses->domainName = kstrdup(volume_info->domainname, GFP_KERNEL); in cifs_get_smb_ses()
4032 kfree(volume_info->domainname); in cifs_cleanup_volume_info_contents()
Dcifsglob.h536 char *domainname; member
/kernel/liteos_a/compat/posix/src/
Dmisc.c78 name->domainname[0] = '\0'; in uname()
/kernel/linux/linux-5.10/net/ipv4/
Dipconfig.c942 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext()
1575 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config()
1738 strlcpy(utsname()->domainname, dp, in ip_auto_config_setup()
1739 sizeof(utsname()->domainname)); in ip_auto_config_setup()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_mr.h265 char domainname[DOMNAME_LENGTH]; member
Dqla_mr.c1864 strlcpy(phost_info->domainname, p_sysid->domainname, in qlafx00_fx_disc()
1865 sizeof(phost_info->domainname)); in qlafx00_fx_disc()
1885 phost_info->domainname, in qlafx00_fx_disc()
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dkernel.rst246 domainname & hostname
249 These files can be used to set the NIS/YP domainname and the
251 domainname and hostname, i.e.::
254 # echo "mydomain" > /proc/sys/kernel/domainname
259 # domainname "mydomain"
263 domainname "frop.org", not to be confused with the NIS (Network
264 Information Service) or YP (Yellow Pages) domainname. These two
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dosf_sys.c570 kname = utsname()->domainname; in SYSCALL_DEFINE2()

12