add zeroobj for private anonymous mappings

This commit is contained in:
NAKAMURA Gou
2014-07-03 13:58:05 +09:00
parent 380fcbda73
commit 36cff84e05
4 changed files with 215 additions and 0 deletions

View File

@ -103,5 +103,6 @@ static inline int memobj_has_pager(struct memobj *obj)
int fileobj_create(int fd, struct memobj **objp, int *maxprotp);
int shmobj_create(struct shmid_ds *ds, struct memobj **objp);
int zeroobj_create(struct memobj **objp);
#endif /* HEADER_MEMOBJ_H */