Skip to content

Commit

Permalink
Auto merge of #2905 - devnexen:illumos_shm_upd, r=JohnTitor
Browse files Browse the repository at this point in the history
solarish SHM* flags
  • Loading branch information
bors committed Sep 10, 2022
2 parents 6eee580 + 403f63e commit 9667d5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -1894,6 +1894,14 @@ pub const IPC_RMID: ::c_int = 10;
pub const IPC_SET: ::c_int = 11;
pub const IPC_SEAT: ::c_int = 12;

// sys/shm.h
pub const SHM_R: ::c_int = 0o400;
pub const SHM_W: ::c_int = 0o200;
pub const SHM_RDONLY: ::c_int = 0o10000;
pub const SHM_RND: ::c_int = 0o20000;
pub const SHM_SHARE_MMU: ::c_int = 0o40000;
pub const SHM_PAGEABLE: ::c_int = 0o100000;

pub const SHUT_RD: ::c_int = 0;
pub const SHUT_WR: ::c_int = 1;
pub const SHUT_RDWR: ::c_int = 2;
Expand Down

0 comments on commit 9667d5f

Please sign in to comment.