/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | homedir.h | 41 * delete the resources needed to look up home directories. 44 HomeDir *_del_HomeDir(HomeDir *home); 47 * Return the home directory of a specified user, or NULL if unknown. 49 const char *_hd_lookup_home_dir(HomeDir *home, const char *user); 55 const char *_hd_last_home_dir_error(HomeDir *home); 60 * the name and the home directory of the user. 67 * The username and home directories are passed to the callback function 80 int _hd_scan_user_home_dirs(HomeDir *home, const char *prefix, void *data,
|
H A D | homedir.c | 81 * The resources needed to lookup and record a home directory are 94 static const char *hd_getpwd(HomeDir *home); 104 HomeDir *home; /* The object to be returned */ local 109 home = (HomeDir *) malloc(sizeof(HomeDir)); 110 if(!home) { 119 home->err = NULL; 120 home->buffer = NULL; 121 home->buflen = 0; 125 home->err = _new_ErrMsg(); 126 if(!home 175 _del_HomeDir(HomeDir *home) argument 212 _hd_lookup_home_dir(HomeDir *home, const char *user) argument 304 _hd_last_home_dir_error(HomeDir *home) argument 330 _hd_scan_user_home_dirs(HomeDir *home, const char *prefix, void *data, HOME_DIR_FN(*callback_fn)) argument 448 hd_getpwd(HomeDir *home) argument [all...] |
H A D | cplfile.c | 83 HomeDir *home; /* A home directory expander */ member in struct:CompleteFile 145 cf->home = NULL; 163 * Create the object that is used to lookup home directories. 165 cf->home = _new_HomeDir(); 166 if(!cf->home) 196 cf->home = _del_HomeDir(cf->home); 266 * If the first character is a tilde, then perform home-directory 281 * username to translate to the corresponding home director [all...] |
/illumos-gate/usr/src/cmd/tsol/demo/ |
H A D | waitforzone.ksh | 35 while [ ! -d /home/${user} ]; do
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | mpo.h | 53 #define HOMESET_ADD(homeset, home)\ 54 homeset |= ((int)1 << (home)) 57 #define MEM_LG_ISMEMBER(homeset, home)\ 58 ((homeset) & ((uint64_t)1 << (home))) 63 uint_t home; member in struct:cpu_md
|
/illumos-gate/usr/src/cmd/tsol/updatehome/ |
H A D | setupfiles.c | 49 static int copyfile(const char *min_home, const char *home, const char *target, 51 static int linkfile(const char *min_home, const char *home, const char *target, 81 * It also assumes that the user's home directory path is the 84 * At this point, the cross-zone automounter only supports home 85 * directories starting with /home 92 char home[MAXPATHLEN]; /* real path to current $HOME */ local 114 /* get current home real path */ 116 (void) strlcpy(home, pwd->pw_dir, MAXPATHLEN); 127 * Since the global zone home directories aren't public 175 if (mkdirs(home, fil 275 mkdirs(const char *home, const char *file, int flags) argument 343 copyfile(const char *min_home, const char *home, const char *target, int flags) argument 454 linkfile(const char *min_home, const char *home, const char *target, int flags) argument [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/ |
H A D | cleanup.ksh | 45 [[ -d /export/home/$ZFS_USER ]] && rm -rf /export/home/$ZFS_USER
|
H A D | setup.ksh | 61 log_must mkdir -p /export/home/$ZFS_USER 62 log_must useradd -c "ZFS Privileges Test User" -d /export/home/$ZFS_USER $ZFS_USER
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp.t | 52 my ($home, $fail); 259 $home = lgrp_home(P_PID, P_MYID); 260 ok(defined($home)); 261 my $home1 = $c->home(P_PID, P_MYID); 262 ok($home1 == $home); 264 ok($home1 == $home); 265 $home1 = $c->home(P_LWPID, 1); 266 ok($home1 == $home); 277 $affinity = $c->affinity_set(P_PID, P_MYID, $home, LGRP_AFF_WEAK); 280 $affinity = $c->affinity_set(P_LWPID, 1, $home, LGRP_AFF_WEA [all...] |
H A D | Lgrp_api.t | 60 my ($home, $fail); 138 # lgrp_affinity-set should change home lgrp. 143 $home = $c->home(P_PID, P_MYID); 146 my $lgrp = ($home == $root ? $leaf : $root); 150 # Our home should change to a new lgrp. 151 $home = $c->home(P_PID, P_MYID); 152 is($home, $lgrp, 'Home lgrp should change after strong affinity is set');
|
/illumos-gate/usr/src/lib/libsmbfs/netsmb/ |
H A D | smb_keychain.h | 86 smbfs_default_dom_usr(const char *home, const char *server,
|
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathcd.c | 59 * if path is long and home!=0 then pathcd(home,0) 64 pathcd(const char* path, const char* home) argument 134 * try to recover back to home 137 if (!(p = (char*)home)) 139 home = 0;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nftw.c | 144 char *home; member in struct:Var 380 base_last_comp = last->comp - vp->home; 382 base_comp = comp - vp->home; 383 base_component = component - vp->home; 384 if ((strlen(q) + strlen(vp->home) + 1) > vp->len) { 386 * When the space needed for vp->home has 390 * (possibly moved) new block for vp->home 392 base_this_comp = this.comp - vp->home; 393 base_fullpath = vp->fullpath - vp->home; 394 base_tmppath = vp->tmppath - vp->home; [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | source.c | 86 char *home; local 112 home = getenv(HOME); 113 if (home) { 116 if ((strlen(home) + strlen(PREXRC) + 2) < (size_t) MAXPATHLEN) { 117 (void) sprintf(path, "%s/%s", home, PREXRC);
|
/illumos-gate/usr/src/lib/pam_modules/smbfs/ |
H A D | smbfs_login.c | 65 char *home; local 98 home = pwbuf.pw_dir; 108 res = smbfs_default_dom_usr(home, NULL, dom, sizeof (dom), NULL, 0);
|
/illumos-gate/usr/src/lib/nsswitch/user/common/ |
H A D | getprinter.c | 248 char path[MAXPATHLEN], *home; local 250 if ((home = getenv("HOME")) == NULL) 251 home = ""; 252 (void) snprintf(path, sizeof (path), "%s/.printers", home);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | main.c | 197 home = getenv("HOME"); 198 if (!home || !*home) { 199 home = ".";
|
H A D | mkdead.c | 50 or in home directory 60 if((hmdead = malloc(strlen(home) + strlen(dead) + 1)) == NULL) { 65 cat(hmdead, home, dead);
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | tilde.sh | 34 function home # id function 72 do h=$(home $u)
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 62 size_t homesize; /* sizeof(home) */ \ 74 char* home; /* home/path buffer */ \ 413 setdir(register char* home, register char* path) argument 422 * note that path and home are in the same buffer 426 cdrv = pathcd(home, NiL); 430 pathcd(home, NiL); 439 setpdir(register char* home, register char* path, register char* base) argument 448 cdrv = setdir(home, path); 452 cdrv = pathcd(home, Ni [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | keychain.c | 296 smbfs_default_dom_usr(const char *home, const char *server, argument 312 if (home && *home) { 315 ctx->ct_home = strdup(home);
|
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/ |
H A D | zero.s | 64 retl ! Go home
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mvcur.c | 56 * consider using home down, or taking advantage of automatic margins on 91 int hu, /* cost home + relative */ 92 hd, /* cost home-down + relative */ 188 char *home; local 192 home = cursor_home; 196 home = cursor_to_ll; 201 if (!home) 206 _PUTS(home, 1);
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 80 char *home; local 85 if ((home = getenv("HOME")) == NULL) 89 "%s/nohup.out", home) >= sizeof (nout)) || 595 char *home; local 627 if (nh_fd == -1 && (home = getenv("HOME")) != NULL) { 629 "%s/nohup.out", home) < sizeof (nout)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 95 static int gethdir(char *home); 222 (void) strcpy(gpath, home); 751 * Extract a home directory from the password file 753 * user whose home directory is sought is currently. 754 * We write the home directory of the user back there. 757 gethdir(char *home) argument 759 register struct passwd *pp = getpwnam(home); 761 if (!pp || home + strlen(pp->pw_dir) >= lastgpathp) 763 (void) strcpy(home, pp->pw_dir);
|