sem uid changes to undefined big number

Olaf Bonorden (olaf@bonorden.de)
Thu, 6 Dec 2001 22:01:02 +0100 (MET)


Hi,

my program terminates with an EACCES error after a semop call.

cat /proc/sysvipc/sem shows:
key semid perms nsems uid gid cuid cgid otime ctime
0 2555906 114 2 3208641224 134770068 503 100 0 1007646984

503 and 100 are ok, but how can the uid and gid change? The values look
strange, there are no such uids in my system.
The perms were changed too, i set them to 700.

Kernel is 2.4.4, but same on 2.4.15

With 2.2.18 there are no problems.

I cannot descibe what my program does (too long), something with process
migration, but all this is done as normal user - can a user process change
the uid of system resources?

CU
Olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/