Skip to content

Commit 999cb50

Browse files
committed
Fix some s390x constants
1 parent 8397fb5 commit 999cb50

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/unix/notbsd/linux/s390x.rs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ pub const SFD_CLOEXEC: ::c_int = 0x080000;
320320
pub const NCCS: usize = 32;
321321

322322
pub const O_TRUNC: ::c_int = 512;
323-
pub const O_LARGEFILE: ::c_int = 0o0100000;
323+
pub const O_LARGEFILE: ::c_int = 0;
324324
pub const O_NOATIME: ::c_int = 0o1000000;
325325
pub const O_CLOEXEC: ::c_int = 0x80000;
326326
pub const O_PATH: ::c_int = 0o10000000;
@@ -910,8 +910,8 @@ pub const ECHOPRT: ::tcflag_t = 0o002000;
910910
pub const ECHOKE: ::tcflag_t = 0o004000;
911911
pub const PENDIN: ::tcflag_t = 0o040000;
912912

913-
pub const POLLWRNORM: ::c_short = 0x004;
914-
pub const POLLWRBAND: ::c_short = 0x100;
913+
pub const POLLWRNORM: ::c_short = 0x100;
914+
pub const POLLWRBAND: ::c_short = 0x200;
915915

916916
pub const IXON: ::tcflag_t = 0o002000;
917917
pub const IXOFF: ::tcflag_t = 0o010000;
@@ -1216,20 +1216,20 @@ pub const SYS_mlock2: ::c_long = 374;
12161216
pub const SYS_copy_file_range: ::c_long = 375;
12171217
pub const SYS_preadv2: ::c_long = 376;
12181218
pub const SYS_pwritev2: ::c_long = 377;
1219-
pub const SYS_lchown: ::c_long = 16;
1220-
pub const SYS_setuid: ::c_long = 23;
1221-
pub const SYS_getuid: ::c_long = 24;
1222-
pub const SYS_setgid: ::c_long = 46;
1223-
pub const SYS_getgid: ::c_long = 47;
1224-
pub const SYS_geteuid: ::c_long = 49;
1225-
pub const SYS_setreuid: ::c_long = 70;
1226-
pub const SYS_setregid: ::c_long = 71;
1227-
pub const SYS_getrlimit: ::c_long = 76;
1228-
pub const SYS_getgroups: ::c_long = 80;
1229-
pub const SYS_fchown: ::c_long = 95;
1230-
pub const SYS_setresuid: ::c_long = 164;
1231-
pub const SYS_setresgid: ::c_long = 170;
1232-
pub const SYS_getresgid: ::c_long = 171;
1219+
pub const SYS_lchown: ::c_long = 198;
1220+
pub const SYS_setuid: ::c_long = 213;
1221+
pub const SYS_getuid: ::c_long = 199;
1222+
pub const SYS_setgid: ::c_long = 214;
1223+
pub const SYS_getgid: ::c_long = 200;
1224+
pub const SYS_geteuid: ::c_long = 201;
1225+
pub const SYS_setreuid: ::c_long = 203;
1226+
pub const SYS_setregid: ::c_long = 204;
1227+
pub const SYS_getrlimit: ::c_long = 191;
1228+
pub const SYS_getgroups: ::c_long = 205;
1229+
pub const SYS_fchown: ::c_long = 207;
1230+
pub const SYS_setresuid: ::c_long = 208;
1231+
pub const SYS_setresgid: ::c_long = 210;
1232+
pub const SYS_getresgid: ::c_long = 211;
12331233
pub const SYS_select: ::c_long = 142;
12341234
pub const SYS_getegid: ::c_long = 202;
12351235
pub const SYS_setgroups: ::c_long = 206;

0 commit comments

Comments
 (0)