Searched defs:door (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_door.c40 /* This file contains all the door server code */
42 #include <door.h>
79 NDMP_LOG(LOG_DEBUG, "ndmp_door_init: Could not create door.");
129 int door; local
131 if ((door = open(NDMP_DOOR_SVC, O_RDONLY)) < 0)
134 if (door_info(door, &info) < 0) {
135 (void) close(door);
142 (void) close(door);
146 (void) close(door);
150 /* door serve
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc.c70 char door[PATH_MAX]; local
122 * then check to see if the RPC door file exists before attempting an
123 * svc_door_create(), which cleverly destroys any existing door file.
128 snprintf(door, sizeof (door), RPC_DOOR_RENDEZVOUS,
129 prog, vers) > 0 && access(door, F_OK) == 0)
133 * Attempt to create a door server for the RPC program as well. Limit
134 * the maximum request size for the door transport to the receive size.
137 fmd_error(EFMD_RPC_REG, "failed to create door for "
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c43 #include <door.h>
525 smbd_report("door initialization failed %s", strerror(errno));
683 * If the door has already been opened by another process (non-zero pid
693 int door; local
699 if ((door = open(door_name, O_RDONLY)) < 0)
702 if (door_info(door, &info) < 0)
707 (void) close(door);
711 (void) close(door);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c31 #include <door.h>
55 #define ERR_OPEN_DOOR "cannot open pkgserv door"
64 int door; member in struct:pkg_server
140 * We need to make sure that we can locate the pkgserv and the door;
142 * the door and doors created in lofs mounts are not propagated back to
146 * we find a working door or
294 server->door = open(pkgdoor, O_RDWR);
296 if (server->door >= 0) {
297 if (door_info(server->door, &di) == 0 && di.di_target >= 0) {
310 (void) close(server->door);
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dvcons.c52 #include <sys/door.h>
443 door_handle_t door; local
456 if (door_ki_open(VT_DAEMON_DOOR_FILE, &door) != 0) {
471 * Make door upcall
473 while ((error = door_ki_upcall(door, &door_arg)) != 0 &&
480 door_ki_rele(door);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c35 #include <door.h>
324 * Check to see if the door client's euid is 0 or if it has required_priv
824 /* if already a per-user nscd, no need to get per-user door */
834 /* if door client is root, no need for a per-user door */
840 * door available
861 int door = -1; local
869 * need to return an alternate PUN door
880 * return to continue the door call processing
887 * stop the door cal
[all...]
H A Dnscd_selfcred.c34 #include <door.h>
103 /* nscd door id */
345 (me, "sending kill to door %d\n", fd);
354 (me, "kill request sent to door %d (rc = %d)\n", fd, ret);
405 (me, "start monitoring door %d\n", fd);
410 /* Close door because the other side exited. */
414 (me, "door (%d) monitor exited (rc = %d)\n", fd, ret);
534 * I'm main, or uid from door is not correct,
549 * I'm forker, or uid from door is not correct,
600 (me, "forking door i
939 _nscd_proc_alt_get( void *buf, int *door) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c42 * start the door server.
70 #include <door.h>
158 static char *door = PKGDOOR; variable
255 door = optarg;
301 (void) fdetach(door);
303 if ((dfd = creat(door, 0644)) < 0 || close(dfd) < 0) {
321 if (fattach(did, door) != 0) {
322 progerr(gettext("attach door: %s"), strerror(errno));
432 * We're starting the daemon; this process exits when the door
1359 (void) fdetach(door);
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dalua_ic_if.c38 #include <sys/door.h>
378 door_handle_t door; local
387 door = pppt_global.global_door;
388 door_ki_hold(door);
403 rc = door_ki_upcall(door, &arg);
408 door_ki_rele(door);
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstmf.c6705 * Purpose: Install door in proxy
6708 * fd - door from door_create()
6711 stmfInitProxyDoor(int *hdl, int door) argument
6730 * Issue ioctl to install the door
6733 ppptIoctl.pppt_door_fd = (uint32_t)door;
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c28 #include <door.h>
2187 door_desc_t *door; local
2238 door = params.desc_ptr;
2239 if (door == NULL) {
2243 ctl->zsctl_door = door->d_data.d_desc.d_descriptor;
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c99 #include <door.h>
250 /* for managing door server threads */
2494 * Create the door file and the pid file in /var/run. If the filesystem
2501 * syslogd will function nicely without it (not so for the door file).
2519 * a door call - if it succeeds, there is already
2524 int door; local
2526 if ((door = open(DoorFileName, O_RDONLY)) >= 0) {
2530 if (door_info(door, &info) >= 0) {
2548 (void) close(door);
2557 if ((door
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c39 #include <door.h>
577 * This makes a door request on the client door associated with handle h.
579 * returns NOT_BOUND. If the door call fails or the server response is too
802 * _NO_SERVER - server door could not be open()ed
803 * door call failed
887 char zone[MAXPATHLEN], root[MAXPATHLEN], door[MAXPATHLEN]; local
934 if (snprintf(door, sizeof (door), "%s/%s", root,
935 default_door_path) >= sizeof (door))
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c29 #include <door.h>
95 * new zone is booted. This is used to fattach the zsd_server door
465 /* fds of door servers */
742 * Zone_enter is used to avoid reaching into zone to fattach door.
745 zsd_fattach_zone(zoneid_t zid, int door, boolean_t detach_only) argument
780 if (fattach(door, path) != 0)
794 zsd_warn(gettext("Unable to attach door to zoneid: %d"), zid);
799 zsd_warn(gettext("Unable to create door file: %s"), path);
4353 door_desc_t door; local
4371 /* If connection, return door t
[all...]
/illumos-gate/usr/src/uts/common/inet/nca/
H A Dnca.h34 #include <sys/door.h>
714 * DOOR_TRACE - trace door node_t events.
884 * dcb_t - door control block.
886 * Used to associate one or more hcb_t(s) with a given httpd door instance.
892 * current httpd support (i.e. a single door) a move to either a hash or tree
915 char *door; /* Door file (default: NULL) */ member in struct:dcb_s
1023 door_handle_t handle; /* The door handle */
1024 char *name; /* The door name */
1025 kmutex_t lock; /* The door lock */
2107 * For door cas
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c235 #include <sys/door.h>
6566 door_handle_t door = NULL; local
6612 if (door == NULL &&
6613 (error = zone_lookup_door(zone_name, &door)) != 0) {
6616 ASSERT(door != NULL);
6618 if ((error = door_ki_upcall_limited(door, &darg, NULL,
6631 zone_release_door(&door);
6632 if (zone_lookup_door(zone_name, &door) != 0) {
6676 if (door != NULL) {
6677 zone_release_door(&door);
[all...]

Completed in 257 milliseconds