/openbmc/linux/security/tomoyo/ |
H A D | domain.c | 230 && 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 …]
|
H A D | util.c | 559 bool tomoyo_correct_domain(const unsigned char *domainname) in tomoyo_correct_domain() argument 561 if (!domainname || !tomoyo_domain_def(domainname)) in tomoyo_correct_domain() 563 domainname = strchr(domainname, ' '); in tomoyo_correct_domain() 564 if (!domainname++) in tomoyo_correct_domain() 567 const unsigned char *cp = strchr(domainname, ' '); in tomoyo_correct_domain() 571 if (!tomoyo_correct_path2(domainname, cp - domainname)) in tomoyo_correct_domain() 573 domainname = cp + 1; in tomoyo_correct_domain() 575 return tomoyo_correct_path(domainname); in tomoyo_correct_domain() 612 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname) in tomoyo_find_domain() argument 617 name.name = domainname; in tomoyo_find_domain() [all …]
|
H A D | securityfs_if.c | 25 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()
|
H A D | common.h | 491 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); 1030 struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname, 1033 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname); 1037 (const char *domainname);
|
H A D | common.c | 934 const struct tomoyo_path_info *domainname = tomoyo_domain()->domainname; in tomoyo_manager() local 949 (!tomoyo_pathcmp(domainname, ptr->manager) || in tomoyo_manager() 961 domainname->name, exe); in tomoyo_manager() 1041 return p1->domainname == p2->domainname; in tomoyo_same_task_acl() 1060 .domainname = tomoyo_get_domainname(param), in tomoyo_write_task() 1063 if (e.domainname) in tomoyo_write_task() 1067 tomoyo_put_name(e.domainname); in tomoyo_write_task() 1081 static int tomoyo_delete_domain(char *domainname) in tomoyo_delete_domain() argument 1086 name.name = domainname; in tomoyo_delete_domain() 1097 tomoyo_pathcmp(domain->domainname, &name)) in tomoyo_delete_domain() [all …]
|
H A D | audit.c | 253 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()
|
H A D | gc.c | 114 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()
|
H A D | memory.c | 205 tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>"); in tomoyo_mm_init()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/nis/ |
H A D | yp-tools_4.2.3.bb | 10 ypwhich, yppasswd, domainname, nisdomainname \ 18 file://domainname.service \ 26 SYSTEMD_SERVICE:${PN} = "domainname.service" 35 --disable-rpath --disable-domainname \ 46 install -m 0644 ${UNPACKDIR}/domainname.service ${D}${systemd_unitdir}/system
|
H A D | yp-tools_2.14.bb | 10 ypwhich, yppasswd, domainname, nisdomainname \ 17 file://domainname.service \ 23 SYSTEMD_SERVICE:${PN} = "domainname.service" 33 install -m 0644 ${UNPACKDIR}/domainname.service ${D}${systemd_unitdir}/system
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/nis/ypbind-mt/ |
H A D | ypbind.service | 3 Requires=domainname.service 4 After=domainname.service network.target
|
/openbmc/qemu/linux-user/ |
H A D | uname.c | 99 COPY_UTSNAME_FIELD(buf->domainname, uts_buf.domainname); in sys_uname()
|
/openbmc/linux/kernel/ |
H A D | utsname_sysctl.c | 117 .data = init_uts_ns.name.domainname, 118 .maxlen = sizeof(init_uts_ns.name.domainname),
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 351 new_ctx->domainname = NULL; in smb3_fs_context_dup() 366 DUP_CTX_STR(domainname); in smb3_fs_context_dup() 854 if (new_ctx->domainname && in smb3_verify_reconfigure_ctx() 855 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx() 998 STEAL_STRING(cifs_sb, ctx, domainname); in smb3_reconfigure() 1431 kfree(ctx->domainname); in smb3_fs_context_parse_param() 1432 ctx->domainname = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param() 1433 if (ctx->domainname == NULL) { in smb3_fs_context_parse_param() 1829 kfree(ctx->domainname); in smb3_cleanup_fs_context_contents() 1830 ctx->domainname = NULL; in smb3_cleanup_fs_context_contents()
|
H A D | fs_context.h | 184 char *domainname; member
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | sys_sparc_32.c | 208 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2() 212 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
|
H A D | sys_sparc_64.c | 534 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2() 538 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/nis/yp-tools/ |
H A D | domainname.service | 7 ExecStart=/usr/bin/domainname $NISDOMAINNAME
|
/openbmc/linux/include/uapi/linux/ |
H A D | utsname.h | 31 char domainname[__NEW_UTS_LEN + 1]; member
|
/openbmc/linux/init/ |
H A D | version-timestamp.c | 18 .domainname = UTS_DOMAINNAME,
|
/openbmc/openbmc/poky/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/ |
H A D | autotools-update.patch | 114 -BINDTEXTDOMAIN (domainname, dirname) 115 - const char *domainname; 121 - if (domainname == NULL || domainname[0] == '\0') 126 - int compare = strcmp (domainname, binding->domainname); 186 - new_binding->domainname = strdup (domainname); 187 - if (new_binding->domainname == NULL) 190 - len = strlen (domainname) + 1; 191 - new_binding->domainname = (char *) malloc (len); 192 - if (new_binding->domainname == NULL) 194 - memcpy (new_binding->domainname, domainname, len); [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | ethernet.hpp | 1239 const std::string& ifaceId, const std::string& domainname, in handleDomainnamePatch() argument 1242 std::vector<std::string> vectorDomainname = {domainname}; in handleDomainnamePatch() 1268 inline bool isDomainnameValid(const std::string& domainname) in isDomainnameValid() argument 1275 return std::regex_match(domainname, pattern); in isDomainnameValid() 1296 std::string domainname; in handleFqdnPatch() local 1297 domainname = (fqdn).substr(pos + 1); in handleFqdnPatch() 1300 if (!isHostnameValid(hostname) || !isDomainnameValid(domainname)) in handleFqdnPatch() 1307 handleDomainnamePatch(ifaceId, domainname, asyncResp); in handleFqdnPatch()
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | lkc.h | 15 static inline void textdomain(const char *domainname) {} in textdomain() argument
|
/openbmc/qemu/include/sysemu/ |
H A D | dump.h | 62 char domainname[65]; member
|
/openbmc/linux/net/ipv4/ |
H A D | ipconfig.c | 970 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext() 1611 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config() 1774 strscpy(utsname()->domainname, dp, in ip_auto_config_setup() 1775 sizeof(utsname()->domainname)); in ip_auto_config_setup()
|