summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/readpassphrase.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Use O_CLOEXEC for various internal file descriptors.jilles2012-09-291-1/+1
| | | | | | | | | This fixes a race condition where another thread may fork() before CLOEXEC is set, unintentionally passing the descriptor to the child process. This commit only adds O_CLOEXEC flags to open() or openat() calls where no fcntl(fd, F_SETFD, FD_CLOEXEC) follows. The separate fcntl() call still leaves a race window so it should be fixed later.
* Sync with OpenBSD, primarily better signal and terminal handling.delphij2010-11-131-63/+79
| | | | | Obtained from: OpenBSD MFC after: 2 weeks
* Fix build. I commented out getpass() in readpassphrase.c because thegreen2002-03-091-3/+3
| | | | | | | | | implementation did not match our manpage description (i.e., it could return NULL). I mistakenly thought we were still using getpass.c because, for some reason, CVS never removed it from the tree. Pointy hat received from: alfred Kick in the groin to: CVS
* Update readpassphrase(3)to the latest revisions. Changes are mainly duegreen2002-03-081-25/+67
| | | | | | | to return value constraints now changing as well as more intelligent handling of signals. Obtained from: OpenBSD
* fix compilation (include -> #include)fjoe2001-11-211-1/+1
|
* Should also include namespace.hgreen2001-11-211-1/+3
| | | | Submitted by: ru
* Change certain syscalls from x to _x.green2001-11-211-7/+7
| | | | Prodded by: bde
* Introduce readpassphrase(3), a superset of getpass(3). Thisgreen2001-11-201-0/+134
comes originally from Todd Miller. Obtained from: OpenBSD
OpenPOWER on IntegriCloud