Re: [PATCH] remove useless casts in if_gre.c
On 03:07 Thu 13 Dec , Rafael Ferreira Neves wrote: Hello, I think that the original code is correct. The definition of ip_output function says that the first argument is a pointer to an mbuf, but the other are variadic. In this case style(9) states that (type *)NULL should be used. Regards Rafael On Thu, Dec 13, 2012 at 2:11 AM, Michael W. Bombardieri m...@ii.net wrote: Hi, I have a small patch for if_gre.c... NULL is already defined as ((void *)0), so we don't need to cast it to void*. No binary change on amd64. Does this look OK? - Michael Index: if_gre.c === RCS file: /cvs/src/sys/net/if_gre.c,v retrieving revision 1.59 diff -u -r1.59 if_gre.c --- if_gre.c23 Nov 2012 20:12:03 - 1.59 +++ if_gre.c13 Dec 2012 04:09:38 - @@ -431,7 +431,7 @@ #endif /* Send it off */ - error = ip_output(m, (void *)NULL, sc-route, 0, (void *)NULL, (void *)NULL); + error = ip_output(m, NULL, sc-route, 0, NULL, NULL); end: if (error) ifp-if_oerrors++; And after cpp run you get a double cast like (void*)((void*)0).
Re: Disable modload(8)
On 10:50 Wed 21 Nov , Alexey E. Suslikov wrote: Hello tech@. Following this http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html Besides of doing #option LKM, is there any other way to disable modload(8)? Cheers, Alexey If an attacker has enough access to actually load a kernel module, your system is already screwed.
Re: upstream vendors and why they can be really harmful
On 15:01 Thu 08 Nov , David Coppa wrote: On Thu, Nov 8, 2012 at 2:21 PM, Marc Espie es...@nerim.net wrote: synchronicity, seen thx to Bruno Rohee... https://igurublog.wordpress.com/2012/11/05/gnome-et-al-rotting-in-threes/ Marketing? Brand presence? Visual identity? WTF?!? The following, in particular, is a little gem: The point is that it decreases our brand presence. That particular user might understand what it is that they are running, but the person who sees them using their machine or even sees their screenshots on the web will not. The question we have to ask ourselves is: how do we make sure that people recognise a GNOME install when they see one? How is this fucking insane? A Microsoft marketing manager couldn't do better ;) As far as I know they are going to release their own linux distro called GNOME OS with it's own API (GNOME API) and stuff. In this case making GNOME incompatible with everything else and all that talk about brands and marketing both make sense.