Searched refs:rootfd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c119 int rootfd, bakfd, hexkeybytes; local
133 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) {
140 if (!(rootfile = fdopen(rootfd, "w"))) {
144 close(rootfd);
H A Dchkey.c738 int rootfd, bakfd, hexkeybytes; local
752 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) {
759 if (!(rootfile = fdopen(rootfd, "w"))) {
763 close(rootfd);

Completed in 45 milliseconds