Home
last modified time | relevance | path

Searched refs:new (Results 1 – 10 of 10) sorted by relevance

/hurd/
A Dsetauth.c32 _hurd_setauth (auth_t new) in _hurd_setauth() argument
40 if (err = __mach_port_mod_refs (__mach_task_self (), new, in _hurd_setauth()
52 _hurd_port_set (&_hurd_ports[INIT_PORT_AUTH], new); in _hurd_setauth()
67 mach_port_t new; in _hurd_setauth() local
75 &new))) in _hurd_setauth()
79 _hurd_init_dtable[d] = new; in _hurd_setauth()
88 && ! __auth_user_authenticate (new, in _hurd_setauth()
98 && ! __auth_user_authenticate (new, in _hurd_setauth()
105 RUN_HOOK (_hurd_reauth_hook, (new)); in _hurd_setauth()
115 __setauth (auth_t new) in __setauth() argument
[all …]
A Dset-host.c28 file_t new, dir; in _hurd_set_host_config() local
36 err = __dir_mkfile (dir, O_WRONLY, 0644, &new); in _hurd_set_host_config()
40 err = __io_write (new, value, valuelen, 0, &nwrote); in _hurd_set_host_config()
43 err = __dir_link (dir, new, name, 0); in _hurd_set_host_config()
44 __mach_port_deallocate (__mach_task_self (), new); in _hurd_set_host_config()
A Ddtable.c65 if (new == NULL) in init_dtable()
69 _hurd_port_init (&new->port, MACH_PORT_NULL); in init_dtable()
70 _hurd_port_init (&new->ctty, MACH_PORT_NULL); in init_dtable()
74 _hurd_port2fd (new, _hurd_init_dtable[i], 0); in init_dtable()
76 _hurd_dtable[i] = new; in init_dtable()
225 io_t new; in ctty_new_pgrp() local
236 new = MACH_PORT_NULL; in ctty_new_pgrp()
238 _hurd_port_set (&d->ctty, new); in ctty_new_pgrp()
266 mach_port_t new, newctty, ref; in reauth_dtable() local
284 &new))) in reauth_dtable()
[all …]
A Dalloc-fd.c90 struct hurd_fd **new; in _hurd_alloc_fd() local
109 new = realloc (_hurd_dtable, size * sizeof (*_hurd_dtable)); in _hurd_alloc_fd()
110 while (new == NULL && size-- > first_fd); in _hurd_alloc_fd()
112 if (new != NULL) in _hurd_alloc_fd()
120 new[i] = NULL; in _hurd_alloc_fd()
122 _hurd_dtable = new; in _hurd_alloc_fd()
A Dhurdports.c36 set (const int idx, mach_port_t new) in set() argument
38 error_t err = _hurd_ports_set (idx, new); in set()
42 int set##what (type new) { return set (INIT_PORT_##idx, new); }
A Dhurdsock.c63 file_t *new = realloc (servers, (domain + 1) * sizeof (file_t)); in _hurd_socket_server() local
64 if (new != NULL) in _hurd_socket_server()
67 new[++max_domain] = MACH_PORT_NULL; in _hurd_socket_server()
69 servers = new; in _hurd_socket_server()
A Dseteuids.c28 gid_t new[n]; in seteuids() local
32 new[i] = uids[i]; in seteuids()
43 new, n, in seteuids()
A DMakefile64 dtable = dtable port2fd new-fd alloc-fd intern-fd \
85 echo '#include "$<"') > $@-new
86 mv -f $@-new $@
A Dhurdauth.c49 uid_t *new, mach_msg_type_number_t nnew) in _S_msg_add_auth()
67 if (exist[k] == new[i]) in _S_msg_add_auth()
72 (*newlistp)[j++] = new[i]; in _S_msg_add_auth()
105 make_list (&new ## genaux ## uidgid ## s, \ in _S_msg_add_auth()
A Dhurdsig.c1591 reauth_proc (mach_port_t new) in reauth_proc() argument
1599 || __auth_user_authenticate (new, ref, in reauth_proc()

Completed in 17 milliseconds