Skip to content

Commit cad9a69

Browse files
committed
Add O_EXEC for FreeBSD
1 parent 971a291 commit cad9a69

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+1
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ pub const SF_MNOWAIT: ::c_int = 0x00000002;
140140
pub const SF_SYNC: ::c_int = 0x00000004;
141141
pub const O_CLOEXEC: ::c_int = 0x00100000;
142142
pub const O_DIRECTORY: ::c_int = 0x00020000;
143+
pub const O_EXEC: ::c_int = 0x00040000;
143144
pub const F_GETLK: ::c_int = 11;
144145
pub const F_SETLK: ::c_int = 12;
145146
pub const F_SETLKW: ::c_int = 13;

0 commit comments

Comments
 (0)