Home
last modified time | relevance | path

Searched refs:old_domain_name (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname01.c81 static char old_domain_name[MAX_NAME_LEN]; variable
127 if ((getdomainname(old_domain_name, sizeof(old_domain_name))) < 0) { in setup()
144 if ((setdomainname(old_domain_name, strlen(old_domain_name))) < 0) { in cleanup()
146 " domainname to \"%s\"", old_domain_name); in cleanup()
Dsetdomainname03.c90 static char old_domain_name[MAX_NAME_LEN]; variable
156 if ((getdomainname(old_domain_name, MAX_NAME_LEN)) < 0) { in setup()
179 if ((setdomainname(old_domain_name, strlen(old_domain_name))) in cleanup()
182 " domainname to \"%s\"", old_domain_name); in cleanup()
Dsetdomainname02.c92 static char old_domain_name[MAX_NAME_LEN]; variable
158 if ((getdomainname(old_domain_name, MAX_NAME_LEN)) < 0) { in setup()
175 if ((setdomainname(old_domain_name, sizeof(old_domain_name))) in cleanup()
178 " domainname to \"%s\"", old_domain_name); in cleanup()
/external/iproute2/examples/
Ddhcp-client-script327 if [ "$old_domain_name" = "$new_domain_name" -a