Home
last modified time | relevance | path

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

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