summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/shm_open.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shm_open(), sysconf(), tcflow(), and tcsendbreak() are not permitted to beguenther2017-09-101-4/+4
| | | | | | | cancellation points in POSIX, so change them to invoke the non-cancellation point versions of open(), close(), nanosleep(), and write() ok deraadt@ millert@
* use geteuid to make it easier for root to communicate.tedu2015-12-101-2/+2
| | | | reported by Jeunder Yu
* Wrap shm_open() to go direct and mark shm_{mkstemp,unlink}() as weakguenther2015-09-121-1/+2
|
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-3/+1
| | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
* When checking flags that will be passed to open(), test the O_ACCMODE portionguenther2015-05-111-3/+6
| | | | | | separately to avoid false negatives. ok miod@ millert@
* pull in missing includes (math.h, unistd.h, stdlib.h) needed forderaadt2013-11-121-1/+2
| | | | prototypes
* close(fd), then set errnotedu2013-10-251-3/+3
|
* fix id, from bradtedu2013-06-021-1/+1
|
* add shm_open and friends which i have been told ports programs wouldtedu2013-05-311-0/+115
like to use. ok deraadt guenther