/illumos-gate/usr/src/uts/common/os/ |
H A D | vers.c | 30 * Template utsname; appropriate values for UTS_RELEASE, UTS_VERSION and 34 #include <sys/utsname.h> 36 struct utsname utsname = { variable in typeref:struct:utsname
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | utsname.h | 36 struct utsname { struct 46 extern struct utsname utsname; 48 int uname(/* struct utsname *name */);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_conf.h | 32 #include <sys/utsname.h> 43 extern void mdb_conf_uname(struct utsname *);
|
H A D | mdb_conf.c | 32 #include <sys/utsname.h> 73 mdb_conf_uname(struct utsname *utsp) 75 bzero(utsp, sizeof (struct utsname));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | utsname.h | 42 #define _SYS_NMLN 257 /* 4.0 size of utsname elements */ 52 struct utsname { struct 61 extern struct utsname utsname; 68 extern int uname(struct utsname *); 69 extern int _uname(struct utsname *); 72 extern int nuname(struct utsname *); 74 extern int _nuname(struct utsname *); 77 * On i386 in SVID.2 uname() returns a utsname structure with 8 byte members, 78 * and nuname() returns the real struct utsname [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/ |
H A D | tst.badcopyinstr.d | 45 os = copyinstr((uintptr_t)&`utsname); 51 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`utsname ? 0 : 1);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uname.c | 38 #include <sys/utsname.h> 42 uname(struct utsname *buf) 46 if (copyout(utsname.sysname, buf->sysname, strlen(utsname.sysname)+1)) { 52 if (copyout(utsname.release, buf->release, strlen(utsname.release)+1)) { 55 if (copyout(utsname.version, buf->version, strlen(utsname.version)+1)) { 58 if (copyout(utsname.machine, buf->machine, strlen(utsname [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.str.d | 39 printf("sysname = %s", `utsname.sysname);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/tracemem/ |
H A D | tst.smallsize.d | 30 tracemem(`utsname.sysname, 5);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | gethostname.c | 39 #include <sys/utsname.h> 49 struct utsname u;
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | tokens.c | 30 #include <sys/utsname.h> 110 struct utsname utsname; local 120 if (uname(&utsname) == -1) 126 size = strlen(utsname.sysname); 130 (void) strncpy(desc->uts_osname, utsname.sysname, size); 132 size = strlen(utsname.release); 136 (void) strncpy(desc->uts_osrel, utsname.release, size);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_conf.c | 27 #include <sys/utsname.h> 65 * utsname and platform for us. 69 mdb_conf_uname(struct utsname *utsp) 71 bzero(utsp, sizeof (struct utsname)); 74 struct utsname *utsaddr; 81 if ((utsaddr = (struct utsname *)kmdb_kdi_lookup_by_name("unix", 82 "utsname")) == NULL) { 83 warn("'utsname' symbol is missing from kernel\n"); 88 bcopy(utsaddr, utsp, sizeof (struct utsname));
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv.h | 42 #include <sys/utsname.h> 55 extern struct utsname uts_buf;
|
/illumos-gate/usr/src/cmd/setuname/ |
H A D | setuname.c | 47 * <sys/utsname.h> System Name 63 #include <sys/utsname.h> 380 struct utsname utsname; /* Space for the kernel's utsname information */ 386 {"utsname", 0, 0, 0, 0, 0}, 391 uintptr_t utsname_addr; /* Addr of "utsname" in the kernel */ 409 * Get the virtual address of the symbol "utsname" in the kernel 420 for (i = symbtbl->count; i-- && (strcmp(p, "utsname") != 0) ; p = S3BNXTSYM(p)) ; 444 * Open the kernel's memory, get the existing "utsname" structur 377 struct utsname utsname; /* Space for the kernel's utsname information */ local [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | hostname.c | 52 #include <sys/utsname.h> 66 struct utsname name;
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.kpriv.ksh | 24 # trace(func((void *)&\`utsname)); } 32 BEGIN { badsubr = "func()"; func((void *)&\`utsname); FAIL } 35 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1); FAIL } 38 BEGIN { badsubr = "func() (arg1)"; func(arg0, (void *)&\`utsname); FAIL } 41 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1, arg2); FAIL }
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | prtconf.h | 36 #include <sys/utsname.h> 72 struct utsname o_uts;
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_layout_obj.c | 29 #include <sys/utsname.h> 58 struct utsname uts;
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | gethostid.c | 45 #include <sys/utsname.h>
|
H A D | gethostname.c | 45 #include <sys/utsname.h>
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | uname.c | 29 #include <sys/utsname.h> 33 * utsname structure has a different format in SVr4/SunOS 5.0. 38 * The following values and structure are from the SVR4 utsname.h. 53 uname(struct utsname *uts) 59 bc_uname(struct utsname *uts)
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | uname.s | 39 pushl 12(%esp) / utsname address (retaddr+$UNAME+0)
|
/illumos-gate/usr/src/uts/sun4v/montoya/os/ |
H A D | montoya.c | 37 #include <sys/utsname.h>
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypset.c | 51 #include <sys/utsname.h> 155 struct utsname utsname; local 159 (void) uname(&utsname); 160 if (strcasecmp(utsname.nodename,
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | mount.c | 41 #include <sys/utsname.h> 70 struct utsname utsname; local 117 if (uname(&utsname) < 0) { 121 (void) strcpy(autofs_addr, utsname.nodename);
|