Files
Odin/core
Sunagatov Denis e21cde0cf7 sys/linux: Unify IPC_Flags and IPC_Mode bitsets
In #5399 it was noticed, that IPC_Mode isn't being used within SystemV
IPC procedures, even though it was designed this way, which lead to a
weird API where in order to call SystemV IPC procedures multiple
transmutes and a bitwise-OR are needed.

This unifies IPC_Mode and IPC_Flags bitsets, making it possible to call
the SystemV IPC procedures without extra casts, and rearranges the flags
in a way that hopefully makes it easier to see when they are not
colliding and should not be mixed. The explanation, explaining this
arrangement of the enum was added.

The IPC_Perm structure is modified, so that the flags can be re-used
between the calls. It's probably not as good as keeping them separate,
but should work... hopefully.

Kept the "old" style of documentation for consistency.

Signed-off-by: Sunagatov Denis <thebumboni@gmail.com>
2025-06-24 20:30:50 +11:00
..
2025-05-04 15:48:26 +10:00
2025-06-16 23:30:22 +02:00
2025-06-09 15:09:04 +02:00
2025-06-23 02:44:00 +10:00
2025-06-16 20:39:19 +02:00
2024-02-08 15:15:16 +00:00
2025-06-06 10:42:34 +02:00
2025-06-21 11:47:00 +02:00
2025-06-08 17:03:43 -07:00