Home
last modified time | relevance | path

Searched refs:hostpriv (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/sysdeps/mach/
Dadjtime.c30 mach_port_t hostpriv; in __adjtime() local
32 hostpriv = __pid2task (-1); in __adjtime()
33 if (hostpriv == MACH_PORT_NULL) in __adjtime()
35 err = __host_adjust_time (hostpriv, delta, olddelta); in __adjtime()
36 __mach_port_deallocate (__mach_task_self (), hostpriv); in __adjtime()
/glibc-2.36/sysdeps/mach/hurd/
Dreboot.c31 mach_port_t hostpriv; in reboot() local
33 err = __get_privileged_ports (&hostpriv, NULL); in reboot()
40 err = __startup_reboot (init, hostpriv, howto); in reboot()
44 __mach_port_deallocate (__mach_task_self (), hostpriv); in reboot()
Dadjtime.c30 mach_port_t hostpriv; in __adjtime() local
33 err = __get_privileged_ports (&hostpriv, NULL); in __adjtime()
40 err = __host_adjust_time (hostpriv, in __adjtime()
45 __mach_port_deallocate (__mach_task_self (), hostpriv); in __adjtime()
Dclock_settime.c30 mach_port_t hostpriv; in __clock_settime() local
37 err = __get_privileged_ports (&hostpriv, NULL); in __clock_settime()
42 err = __host_set_time (hostpriv, tv); in __clock_settime()
43 __mach_port_deallocate (__mach_task_self (), hostpriv); in __clock_settime()