Searched refs:user (Results 1 - 25 of 71) sorted by relevance

123

/ast/src/lib/libast/uwin/
H A Drcmd.c383 char *user; local
402 user = p;
406 user = p;
414 /* enable all user for + entry */
415 if ('+' == user[0] && '\0' == user[1] )
422 /* disable all user for - entry */
423 if ('-' == user[0] && '\0' == user[1] )
436 /* disable user fro
509 char *host, *user, *domain; local
541 char *host, *user, *domain; local
[all...]
/ast/src/cmd/coshell/
H A Djob.c46 if (state.con[fd].info.user.running)
55 for (i = 0; i < elementsof(state.con[fd].info.user.fds); i++)
56 if ((n = state.con[fd].info.user.fds[i]) != fd && n >= 0 && state.con[n].type)
61 if (sp = state.con[fd].info.user.home)
63 if (state.con[fd].info.user.pump)
64 free(state.con[fd].info.user.pump);
65 if (state.con[fd].info.user.expr)
66 free(state.con[fd].info.user.expr);
134 error(ERROR_OUTPUT|2, state.con[jp->fd].info.user.fds[2], "%s: job=%d pid=%d %s", sp->name, jp - state.job, jp->pid, state.migrate);
139 error(ERROR_OUTPUT|2, state.con[jp->fd].info.user
[all...]
H A Dshell.c198 * send command in the exec message msg to a shell for user fd
227 error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "invalid exec message");
238 if (state.running >= (state.perserver + state.jobwait) || con[fd].info.user.running >= state.peruser)
241 if (!jp) attributes(att, &attr, &con[fd].info.user.attr);
243 else if (!(sp = search((flags & CO_LOCAL) ? DEF|JOB : JOB, att, &attr, &con[fd].info.user.attr)))
245 if (s = con[fd].info.user.expr)
247 if (att) error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "%s && %s: invalid host", s, att);
248 else error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "%s: invalid host", s);
250 else if (att) error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "%s: invalid host", att);
251 else error(ERROR_OUTPUT|2, con[fd].info.user
[all...]
H A Dmain.c40 "user. This server runs as a daemon on the user's home host, and only "
48 "[+?Job requests are accepted from user processes on the local host and "
52 "ENVIRONMENT) are set to match requesting user values. \bstdin\b is set "
226 * accept a new user connection
231 user(void* handle, int fd, Cs_id_t* id, int clone, char** argv) function
240 state.con[fd].info.user.fds[0] = fd;
241 state.con[fd].info.user.fds[1] = -1;
242 state.con[fd].info.user.fds[2] = -1;
246 state.con[fd].info.user
[all...]
/ast/src/lib/libast/misc/
H A Doptjoin.c59 int user; local
77 user = (*fun)(argv, 0);
87 if (!user)
/ast/src/lib/libast/cdt/
H A Ddtopen.c97 dt->user = &dt->data->user; /* space allocated for application usage */
160 return asolock(&dt->data->user.lock, key, ASO_LOCK);
162 return asolock(&dt->data->user.lock, key, ASO_UNLOCK);
163 else return asolock(&dt->data->user.lock, key, ASO_TRYLOCK);
169 return dt->data->user.data;
173 { dt->data->user.data = data;
/ast/src/cmd/INIT/
H A Dditto.sh35 \ahost\a: or \adirectory\a must be specified. The current user is used
37 omitted, and the user home directory is used if \adirectory\a is
57 [o:owner?Preserve file user and group ownership.]
84 parse() # id user@host:dir
86 typeset id dir user host
92 user=${dir%%@*}
93 dir=${dir#${user}@}
95 user=
104 if [[ $user ]]
106 user
[all...]
H A Dhurl.sh47 [a:authorize?The url authorization user name and password, separated
48 by \b:\b (one colon character.)]:[user::password]
172 print -n "Enter user name for $realm: "
173 read -u9 user
181 authorize=$user:$password
192 elif wget ${authorize:+--http-user="${authorize%:*}"} ${password:+--http-passwd="${password##*:}"} -nv -O - $url 2>/dev/null
/ast/src/lib/libcmd/
H A Did.c33 "[+NAME?id - return user identity]"
34 "[+DESCRIPTION?If no \auser\a operand is specified \bid\b writes user and "
35 "group IDs and the corresponding user and group names of the "
40 "the user and group IDs and any supplementary group IDs of the "
41 "selected user will be written to standard output.]"
48 "[u:user?Writes only the user ID.]"
53 "\n[user]\n"
211 uid_t user; local
252 user
[all...]
/ast/src/lib/libcoshell/
H A Dcoshell.h93 #define CO_USER 0x100000 /* first user flag */
102 unsigned long user; /* user time in 1/CO_QUANT secs */ member in struct:Cojob_s
111 void* data; /* user data, initially 0 */
116 unsigned long user; /* user time in 1/CO_QUANT secs */ member in struct:Coshell_s
H A Dcowait.c137 unsigned long user; local
339 * <s> is the job exit code and user,sys times
343 user = sys = 0;
349 user += strelapsed(s, &e, CO_QUANT);
355 cj->user += user;
357 co->user += user;
H A Dcoclose.c73 errormsg(state.lib, 2, "coshell %d jobs %d user %s sys %s", co->index, co->total, fmtelapsed(co->user, CO_QUANT), fmtelapsed(co->sys, CO_QUANT));
/ast/src/lib/libcs/
H A Dcsaddr.c152 char* user; local
173 user = name;
251 user = t;
296 * cache host name and user for possible CS_REMOTE_SHELL
302 if (userlen >= sizeof(state->user)) userlen = sizeof(state->user) - 1;
303 strncpy(state->user, user, userlen);
305 state->user[userlen] = 0;
H A Dcsopen.c33 * perm: {user[=euid],group[=egid],other(default)}
109 remote(register Cs_t* state, const char* host, const char* user, const char* path, int agent, register char** av, register char* fv) argument
115 if (user && *user)
118 *av++ = (char*)user;
155 initiate(register Cs_t* state, char* user, char* path, char* service, char* name) argument
214 remote(state, on, user, path, 0, av, fv);
297 agent(register Cs_t* state, const char* host, const char* user, const char* path) argument
310 remote(state, host, user, path, 1, av, fv);
363 doattach(register Cs_t* state, const char* path, int op, int mode, char* user, cha argument
617 char* user = 0; local
[all...]
/ast/src/cmd/at/
H A Datd.c27 * the at control dir hierarchy, all files owned by one user
80 User_t* user; member in struct:__anon34
144 Table_t owner; /* user by User_t* */
147 Table_t uid; /* user by uid */
148 Table_t user; /* user by name */ member in struct:__anon39::__anon40
153 int peruser; /* total per user limit */
165 Connection_t con[1]; /* user connections */
188 * return user info given name or uid
192 user(registe function
[all...]
/ast/src/cmd/mailx/
H A Dsmtp.c180 sfprintf(sp, "MAIL FROM:<%s@%s>\r\n", state.var.user, state.var.domain) :
181 sfprintf(sp, "MAIL FROM:<%s>\r\n", state.var.user)) < 0)
227 if (sfprintf(sp, "From: <%s@%s>\n", state.var.user, host) < 0)
H A Dmisc.c334 char* user; local
360 strncopy(user = temp, addr, sizeof(temp));
363 if (p = strrchr(user, '!')) {
364 uucp = user;
366 user = p;
376 if (p = strchr(user, '@')) {
381 if (p = strchr(user, '%')) {
407 p = strncopy(p, user, e - p);
606 * the occasional user with enormous string size requests.
H A Dimap.c203 char* user; /* IMAP user name */ member in struct:__anon128
1511 if (!imap->host || !imap->user || !imap->meth)
1514 register char* user; local
1521 * <host> [ <user> [ <meth> [ <arg> ... ] ] ]
1531 for (user = host; *user && !isspace(*user); user++);
1532 if (*user)
[all...]
H A Dlocal.c84 * Locate the user's mailbox file (ie, the place where new, unread
88 mailbox(const char* user, const char* mail) argument
102 if (!user || !*user || !stat(mail, &st) && S_ISREG(st.st_mode))
128 sfprintf(state.path.temp, "%-.*s/%s", n, mail, user);
143 * Discover user login name.
167 * Convert name to a user id and return it.
/ast/src/lib/libtk/compat/
H A Dunistd.h61 extern int setuid _ANSI_ARGS_((uid_t user));
75 extern int seteuid _ANSI_ARGS_((uid_t user));
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.h67 char *user; member in struct:mount_item
H A Difs_ftp.c436 char pass[ 80 ], *user; local
457 user = mitem->user ? mitem->user : "anonymous";
463 if( FtpTalk( nFile, "USER", user ) != 330 ||
/ast/src/cmd/html/
H A Dhtmlrefs.c32 " specified then the top level default user file is read. The \bhtml\b"
36 " \b--root\b and \b--user\b options influence the order):]{"
94 "[r:root?The local \adirectory\a for \b--user\b"
104 "[u:user?\b~\b\aname\a translates to the \b--root\b"
214 String_t user; member in struct:State_s
320 else if (!state->user.size || !strneq(s + 2, state->user.data, state->user.size) || *(s + 2 + state->user.size) != '/')
323 s += 2 + state->user
[all...]
/ast/src/cmd/std/
H A Dshar.sh78 [s:submitter]:[user?Override automatically determined submitter name
103 [X:query-user?When unpacking, ask the user if files should be
121 user=${USER:-${LOGNAME:-$(whoami 2>/dev/null || who am i | sed $'s/[ \t].*//')}}@$(hostname)
145 s) user=$OPTARG;;
200 Submitted-by: $user
220 # Wrapped by on $(date) by $user
/ast/src/cmd/ksh93/
H A DMakefile20 SHOPT_ACCTFILE == /* per user accounting info */

Completed in 459 milliseconds

123