summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
2006-04-29Change the compile time option -DINFO into a runtime option to get rideMats O Jansson
of some lint warnings. -moj
2006-04-28do not log "interface with index 0 not found". ifindex == 0 happens onHenning Brauer
routes. same as in bgpd now. norby ok
2006-04-27lint(1) support in config:Marc Espie
- LINTS variables to hold the list of *.ln files. - OBJS derives from it, since it can contain more files. - add set of explicit rules for each .ln file. - add a lint-with keyword that duplicates compile-with functionality to special-case linting instead of compilation. Full linting is dependent on LINT_* macros in the arch dependent template files. As is, doesn't break normal build. Just creates larger Makefiles. Review/ok miod@, cloder@, deraadt@
2006-04-26Remove unused _exists() function. It is not even used in my evil filter treeClaudio Jeker
so I doubt I will need it anytime soon. Additionally I think that the interface is dangerous as it bypasses the ref-counting.
2006-04-26Last argument to send_filterset() is a left-over from one of my not so cleverClaudio Jeker
ideas that will never be included and always set to 0. Kill it.
2006-04-26Remove filterset_names from bgpd.h and replace it with a function becauseClaudio Jeker
the table was already out of sync now. OK henning@
2006-04-25kill unused old debug code.Esben Norby
ok claudio@
2006-04-25Mark fatal and fatalx as __dead from deraadt@Claudio Jeker
2006-04-25Mark fatal and fatalx as __dead from a similar diff for bgpd from deraadt@Claudio Jeker
2006-04-25Use size_t for buffer lenght passed to send_ls_ack() plus an ARGSUSED.Claudio Jeker
2006-04-25Kill unused function and add a ARGSUSED.Claudio Jeker
2006-04-25Path the length of the packet as size_t to in_cksum(). Enforce that theClaudio Jeker
passed size is not bigger than 2^16 (limit of the used algorithm). This removes some more lint warnings and makes sense.
2006-04-25The return value of lsa_num_links is an u_int16_t tnd not int. Found by lint.Claudio Jeker
2006-04-25More lint cleanup. Kill unneeded stuff and sprinkle some ARGSUSED.Claudio Jeker
2006-04-25ARGSUSED for event handler.Claudio Jeker
2006-04-25Mark event handlers with ARGSUSED to please lint.Claudio Jeker
2006-04-24Fix parser to match current behaviour and make auth-type et al. part of theClaudio Jeker
global and per area defaults. With this it is now possible to define one set of auth-md keys and use them in every defined interface. OK norby@
2006-04-22Set signal handlers directly after the fork(2), so that we avoidMoritz Jodeit
situations, where the privileged child dies before the unprivileged parent has set a signal handler for SIGCHLD. ok deraadt@ canacar@
2006-04-22Remove remaining stuff from state QUIT, adjust some commentsMoritz Jodeit
and close a fd leak in read_infile(). ok deraadt@
2006-04-22Pass over the right object to OpenBSD::Delete::validate_plist().Bernd Ahlers
This fixes an error while checking for collision with old libs. okay espie@
2006-04-21Add comments to please lint. No code changes. OK deraadtChad Loder
2006-04-21Add IFT_PPP to the iftype to ifmedia type conversion function. Now P2P linksClaudio Jeker
will show the correct link state. While there do some cleanup and shorten the output if the media or link state is unknown.
2006-04-21attr_init() should use attrhashsize and not pathhashsize. Found via a lintClaudio Jeker
cleanup diff from deraadt@.
2006-04-21msgbuf_writebound() and msgbuf_bounded() are leftovers from some ancientClaudio Jeker
mrt dump code. These functions are no longer used since we switched to filedescriptor passing. From deraadt@
2006-04-21Remove function prototype that was never used. From deraadt@Claudio Jeker
2006-04-21ami sysctl diff; from michael knudsenJason McIntyre
ok dlg
2006-04-20list must be sortedTheo de Raadt
2006-04-20Simplify the defaults handling. This is long overdue and necessary to addClaudio Jeker
auth-type et al. to the main and area blocks. OK norby@
2006-04-20More delint. -mojMats O Jansson
2006-04-18Remove "S" from getopt(3) string, which was added in 1.32 by mistake.Moritz Jodeit
From Steffen Wendzel. ok henning@
2006-04-18cannot see the string self in the ANNOUNCE STRING prod any more sinceHenning Brauer
self is a token now
2006-04-18struct kif_kr is not used in ospfd.Claudio Jeker
2006-04-18cleanup keyword lookup for the lexer, and remove keywords not valid inTheo de Raadt
either dhclient or dhcpd context; tested by many
2006-04-18Fix "announce self" that got broken by "nexthop self". Found by Thomas Bader.Claudio Jeker
OK henning@
2006-04-18simple variable renaming to please lintTheo de Raadt
2006-04-17initialize program_name before we privsep, otherwise the child does notTheo de Raadt
know our name
2006-04-17Remove 'ipc' in PLT message and replace it with current hostname.Mats O Jansson
Some more code cleanup and make lint happier. -moj
2006-04-17more cleanupTheo de Raadt
2006-04-17fd(4) -> fdc(4). ok jmc@Steven Mestdagh
2006-04-17Make the code lint friendly. -mojMats O Jansson
2006-04-17Only show a interface once. Some cleanup and silence lint. -mojMats O Jansson
2006-04-17setjmp.h not usedTheo de Raadt
2006-04-16Some cleanup and delint. -mojMats O Jansson
2006-04-16cleanup error handling to avoid two memleaks. found and ok pat@Moritz Jodeit
2006-04-16Add on which interface the packet arrived. Some cleanup and delint. -mojMats O Jansson
2006-04-16KNFHenning Brauer
2006-04-16only look at later rt_msghdr fields for those messages actually usingHenning Brauer
rt_msghdr, same as in bgpd, ok claudio norby
2006-04-15Fix some bugs in printing of MOP packets. -mojMats O Jansson
2006-04-13Fix pr 5073, httpd/mod_ssl can leak file descriptors in theBob Beck
case where an ssl connection is not found in the scache dbm Reported by, and fix suggested by Darrin Chandler <darrin@puffy.asicommunications.com> testing by me, ok henning@