#ifndef LOCKME_H #define LOCKME_H #include #include "die.h" static inline void xlockme(void) { if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) panic("Cannot lock pages!\n"); } static inline void xunlockme(void) { munlockall(); } #endif /* LOCKME_H */ net/unix?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/net/unix
AgeCommit message (Expand)AuthorFilesLines
2017-02-02unix: add ioctl to open a unix socket file with O_PATHAndrey Vagin1-0/+41