Fix MMAP_PREP order.

This commit is contained in:
4lDO2
2023-07-26 22:31:56 +02:00
parent d6e1732d44
commit a4a84775d6
+2 -2
View File
@@ -497,8 +497,8 @@ impl UserInner {
pid: pid.into(),
a: KSMSG_MMAP_PREP,
b: file,
c: map.flags.bits(),
d: unaligned_size,
c: unaligned_size,
d: map.flags.bits(),
// The uid and gid can be obtained by the proc scheme anyway, if the pid is provided.
uid: map.offset as u32,
gid: (map.offset >> 32) as u32,