Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

door_revoke(3door) [v7 man page]

door_revoke(3DOOR)					      Door Library Functions						door_revoke(3DOOR)

NAME
door_revoke - revoke access to a door descriptor SYNOPSIS
cc -mt [ flag ... ] file ... -ldoor [ library ... ] #include <door.h> int door_revoke(int d); DESCRIPTION
The door_revoke() function revokes access to a door descriptor. Door descriptors are created with door_create(3DOOR). The door_revoke() function performs an implicit call to close(2), marking the door descriptor d as invalid. A door descriptor can only be revoked by the process that created it. Door invocations that are in progress during a door_revoke() invoca- tion are allowed to complete normally. RETURN VALUES
Upon successful completion, door_revoke() returns 0. Otherwise, door_revoke() returns -1 and sets errno to indicate the error. ERRORS
The door_revoke() function will fail if: EBADF An invalid door descriptor was passed. EPERM The door descriptor was not created by this process (with door_create(3DOOR)). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |all | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
close(2), door_create(3DOOR), libdoor(3LIB), attributes(5) SunOS 5.10 21 Aug 1997 door_revoke(3DOOR)

Check Out this Related Man Page

libdoor(3LIB)                                                   Interface Libraries                                                  libdoor(3LIB)

NAME
libdoor - doors library SYNOPSIS
cc [ flag... ] file... -ldoor [ library... ] #include <door.h> DESCRIPTION
The functions in this library provide programmatic access to doors, including the ability to create and call them. Doors are a fast light- weight RPC mechanism for secure control transfer between processes on the same machine. Conceptually, a thread in one process can issue a call using a door descriptor that causes code to be executed in another process and then returns using the traditional synchronous RPC model. Doors can also be used to pass data and file descriptors between processes. INTERFACES
The shared object libdoor.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces. door_bind door_call door_create door_cred door_info door_return door_revoke door_server_create door_ucred door_unbind FILES
/lib/libdoor.so.1 shared object /lib/64/libdoor.so.1 64-bit shared object ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
intro(3), door_bind(3DOOR), door_call(3DOOR), door_create(3DOOR), door_cred(3DOOR), door_info(3DOOR), door_return(3DOOR), door_revoke(3DOOR), door_server_create(3DOOR), door_ucred(3DOOR), attributes(5) Stevens, W. Richard. UNIX Network Programming, Volume 2: Interprocess Communications, 2/e. Tucson, Ariz.: Prentice Hall, 1999. SunOS 5.10 24 Mar 2004 libdoor(3LIB)
Man Page