Searched refs:initname (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.func_access.ksh | 46 BEGIN { x = alloca(10); bcopy(`initname, x, 10); trace(stringof(x)); } 49 BEGIN { trace(strlen(`initname)); } 50 BEGIN { trace(strchr(`initname, 0x69)); } 51 BEGIN { trace(strrchr(`initname, 0x69)); } 52 BEGIN { trace(strstr("/sbin/init/foo", `initname)); } 53 BEGIN { trace(strstr(`initname, "in")); } 54 BEGIN { trace(strtok(`initname, "/")); } 56 BEGIN { trace(strtok("foo/bar", `initname)); } 57 BEGIN { trace(strtok(NULL, `initname)); } 58 BEGIN { trace(strtoll(`initname)); } [all …]
|
H A D | tst.op_access.ksh | 41 BEGIN /`initname == "/sbin/init"/ { trace("bad"); } 50 BEGIN { a[stringof(`initname)] = 42; trace(a["/sbin/init"]); } 53 BEGIN { self->a[stringof(`initname)] = 42; trace(self->a["/sbin/init"]); }
|
/titanic_44/usr/src/uts/common/krtld/ |
H A D | kobj_bootflags.c | 124 if (params.gos_optarglen + 1 > sizeof (initname)) { in bootflags() 128 (void) strncpy(initname, params.gos_optargp, in bootflags() 130 initname[params.gos_optarglen] = '\0'; in bootflags()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | main.c | 138 char initname[INITNAME_SZ] = "/sbin/init"; /* also referenced by zone0 */ variable
|
H A D | zone.c | 1989 zone0.zone_initname = initname; in zone_zsd_init() 2450 char initname[INITNAME_SZ]; in zone_set_initname() local 2455 if ((err = copyinstr(zone_initname, initname, INITNAME_SZ, &len)) != 0) in zone_set_initname() 2461 zone->zone_initname = kmem_alloc(strlen(initname) + 1, KM_SLEEP); in zone_set_initname() 2462 (void) strcpy(zone->zone_initname, initname); in zone_set_initname()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | systm.h | 415 extern char initname[INITNAME_SZ];
|