netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iputils: ninfod minor changes
@ 2013-01-23 13:37 Jan Synacek
  2013-01-23 13:37 ` [PATCH 1/2] ninfod: Call limit/drop_capabilities() and open_sock() after checking for -h or -v Jan Synacek
  2013-01-23 13:37 ` [PATCH 2/2] ninfod: Make -v exit correctly Jan Synacek
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Synacek @ 2013-01-23 13:37 UTC (permalink / raw)
  To: yoshfuji; +Cc: netdev, Jan Synacek

Functions limiting capabilities as well as opening a socket could have been
called needlessly if ninfod was invoked with -h.

Also, ninfod incorrectly kept running if invoked with -v.

Jan Synacek (2):
  ninfod: Call limit/drop_capabilities() and open_sock() after checking
    for -h or -v.
  ninfod: Make -v exit correctly.

 ninfod/ninfod.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

-- 
1.8.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-23 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 13:37 [PATCH 0/2] iputils: ninfod minor changes Jan Synacek
2013-01-23 13:37 ` [PATCH 1/2] ninfod: Call limit/drop_capabilities() and open_sock() after checking for -h or -v Jan Synacek
2013-01-23 13:37 ` [PATCH 2/2] ninfod: Make -v exit correctly Jan Synacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).