Re: IPFW/socheckuid() patch

2003-02-18 Thread Maxim Konovalov
On 03:18+0200, Feb 18, 2003, Giorgos Keramidas wrote: > On 2003-02-18 00:02, Wiktor Niesiobedzki <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 17, 2003 at 11:47:32PM +0100, Wiktor Niesiobedzki wrote: > > There is an obvious mistake in patch (or change in ip_fw2.c should > > be considered). > > [...]

Re: IPFW/socheckuid() patch

2003-02-17 Thread Giorgos Keramidas
On 2003-02-18 00:02, Wiktor Niesiobedzki <[EMAIL PROTECTED]> wrote: > On Mon, Feb 17, 2003 at 11:47:32PM +0100, Wiktor Niesiobedzki wrote: > There is an obvious mistake in patch (or change in ip_fw2.c should > be considered). > [...] > --- sys/kern/uipc_socket.c 2003/02/17 22:37:58 1.144 >

Re: IPFW/socheckuid() patch

2003-02-17 Thread Wiktor Niesiobedzki
On Mon, Feb 17, 2003 at 11:47:32PM +0100, Wiktor Niesiobedzki wrote: [...] There is an obvious mistake in patch (or change in ip_fw2.c should be considered). Cheers, Wiktor Niesiobedzki === RCS file: sys/kern/uipc_socket.c,v retri

IPFW/socheckuid() patch

2003-02-17 Thread Wiktor Niesiobedzki
Hi, During my firewall configuration I noticed strange behaviour of ipfw option uid. ip_fw2.c:1513 #if __FreeBSD_version < 500034 #define socheckuid(a,b) ((a)->so_cred->cr_uid == (b)) #endif if (cmd->opcode == O_UID) { match =