Re: [PATCH] SUSv2 msgctl compliance

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri May 24 2002 - 09:45:52 EST


> For msgctl SUSv2 states:
>
> "IPC_SET can only be executed by a process with appropriate privileges
> or that has an effective user ID equal to the value of msg_perm.cuid
> or msg_perm.uid in the msqid_ds data structure associated with
> msqid. Only a process with appropriate privileges can raise the value
> of msg_qbytes."
>
> The current linux behaviour is to allow for the value of msg_qbytes to
> be raised even if the process is not privileged. The following
> patch (against 2.4.19pre8) fixes this problem:

This is not a bug. We have deemed all users to have appropriate priviledge
and in fact the generic SYS5 unix interpretation of this one seems if anything
to be bogus. We are standards compliant.

Alan
-
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/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:13 EST