Searched refs:is_rdonly (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_map.c | 293 __db_mapfile(path, fd, len, is_rdonly, addr) in __db_mapfile() argument 295 int fd, is_rdonly; 300 return (__db_jump.j_map(path, fd, len, 0, 0, is_rdonly, addr)); 303 return (__os_map(path, fd, len, 0, 0, is_rdonly, addr)); 336 __os_map(path, fd, len, is_region, is_anonymous, is_rdonly, addr) in __os_map() argument 338 int fd, is_region, is_anonymous, is_rdonly; 351 flags = is_rdonly ? MAP_PRIVATE : MAP_SHARED; 385 if (!is_rdonly) 389 prot = PROT_READ | (is_rdonly ? 0 : PROT_WRITE);
|