Re: bug in ipv6 handling?

Amon Ott <[email protected]>
Newsgroups gmane.linux.rsbac
Organization RSBAC
Message-ID <[email protected]>
On Monday 03 November 2008 23:04, Bernhard Seibold wrote:
> I'm using a 2.6.26.7 kernel with rsbac-1.4.0-rc2 and
> pax-2.6.26.7-test33, and I get a lot of errors like the following:
>
> 0000000143|rsbac_adf_set_attr(): request WRITE, pid 5057, uid 33,
> target_type NETOBJ, tid ffff8100a3fddb80 INET6 STREAM,
> new_target_type NONE, new_tid NONE, attr sock_type, value 262145,
> error -1017 0000000144|rsbac_handle_rw_up(): rsbac_adf_set_attr()
> returned error

Does the attached patch help?

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22

_______________________________________________
rsbac mailing list
[email protected]
http://www.rsbac.org/mailman/listinfo/rsbac
rw_write.diff (text/x-diff, 369 B)
=== rsbac/adf/adf_check.c
==================================================================
--- rsbac/adf/adf_check.c	(revision 2379)
+++ rsbac/adf/adf_check.c	(local)
@@ -951,9 +951,7 @@
 		case T_DEV:
 		case T_UNIXSOCK:
 		case T_IPC:
-#if defined(CONFIG_RSBAC_NET_OBJ_RW)
 		case T_NETOBJ:
-#endif
 			return 0;
 			/* all other cases are undefined */
 		default:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.