summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2010-03-27Remove explicit nop's in delay slots introduced in the previous commit. TheyMark Kettenis
are already inserted as part of jal/jr expansion by gas, and we don't need another one. suggested by miod@
2010-03-27Implement lazy binding on mips64. This implementation relies on having twoMark Kettenis
reserved entries in the GOT, which is a GNU extension to the 64-bit MIPS SVR4 ABI. That's fine; all existing OpenBSD/mips64 binaries have the extra slot. ok miod@, jsing@, drahn@
2010-03-08Check that gl_pathc is bigger than zero before derefencing gl_pathv. WhileMark Kettenis
this shouldn't happen since we specifiy GLOB_NOMAGIC, it doesn't hurt to be paranoid, even if we fix the bug in glob(3) that causes gl_pathc to be zero even if we specify GLOB_NOMAGIC. ok deraadt@
2010-02-18The .It macro is parsed, and .Do is callable, so we must escape.Ingo Schwarze
Found by and unbreaking the build with mandoc(1). OK jmc@
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2010-02-01Properly restore ret1 instead of overwriting ret0 with the saved value.Mark Kettenis
Fixes lazy binding for functions that return results larger than 64 bits (such as structs). ok miod@
2010-01-14drop connections to confused clients who do repeated command failures -Bob Beck
typically when a client just flings commands at us without looking for responses and then gets confused. ok jsing@
2010-01-13pfr.rule.*.addr.type must be initialized to PF_ADDR_NONE for things thatClaudio Jeker
are not used. bzero() of the rule structure is not enough. Found with dlg@, OK mcbride@
2010-01-12First pass at removing the 'pf_pool' mechanism for translation and routingRyan Thomas McBride
actions. Allow interfaces to be specified in special table entries for the routing actions. Lists of addresses can now only be done using tables, which pfctl will generate automatically from the existing syntax. Functionally, this deprecates the use of multiple tables or dynamic interfaces in a single nat or rdr rule. ok henning dlg claudio
2010-01-11KNFBob Beck
2010-01-11KNFBob Beck
2010-01-03Make lazy binding work on hppa.Mark Kettenis
ok miod@
2010-01-02Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.Mark Kettenis
ok miod@, deraadt@, jsing@
2010-01-02the abstraction of using a function pointer for the print functions isTheo de Raadt
not needed (and secondly, ran into hppa not relocating function pointers correctly) ok kettenis drahn
2009-12-30Remove paths from the prebind code that shouldn't be present.Dale Rahn
2009-12-24deal with the new .Aq in perl manpages production.Marc Espie
- handle .ie, .el minimally - define \(aq as the ' symbol.
2009-11-22Move from the PF_RULESET_FILTER world order to PF_TRANS_RULESETTheo de Raadt
due to the standard henning+oga commit-and-run-for-beer problem. ok claudio
2009-11-12malloc() after line length check, to avoid memory leak; ok teduTheo de Raadt
2009-11-01remove unused variableCharles Longeau
ok sthen@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-22replace cross references to other manual pages with the right macros.Igor Sobrado
2009-10-11Support manpages with NAME written in Spanish/Italian/PortugueseStuart Henderson
ok espie@
2009-09-17merge/update the spamlogd rules into spamd - there were some subtleJason McIntyre
problems because of the recent pf nat changes that caused problems; i've fleshed out the example in spamd and just added a pointer to it from spamlogd; ok beck
2009-09-09Change the way memory is allocated to reduce memory footprint. Loading theClaudio Jeker
large uatraps uses now around 8 times less memory. Other cleanup includes a fast implementation of imask() (stolen from bgpd), killing some unused code and try to estimate the memory needed in add_blacklist() to reduce the realloc() calls. Tested by many (sthen, matthieu, Stephan A. Rickauer) OK beck@, sthen@
2009-09-07the example pf rules should be "pass in", not just "pass"; ok henningJason McIntyre
2009-09-01match samples here with pf.conf(5) sample ruleset following recent pf changesTodd T. Fries
ok henning@
2009-09-01Adjust example pf rules to take nat-to/rdr-to into account.Stuart Henderson
2009-09-01adapt to new pf, ok henning@Stuart Henderson
2009-08-19In ldconfig the dewey field of shlib_list was only partially filledAlexander Bluhm
as bcopy used the number of elements instead of the array's size. As a consequence, the wrong version of a library could be selected if the library had many minor numbers. from Christian Rusch; ok otto@
2009-08-16Do not have multiple va_end(). Ok miod@ + many more.Anders Magnusson
2009-07-30Remove unused add_nat() function, ok jcs@Stuart Henderson
2009-07-02add a missing full stop; noticed by frantisek holop <minusf at obiit dot org>Ingo Schwarze
while here, add a missing comma and a missing word, too; ok jmc@
2009-06-04...and now try again with a commit from the right tree. doh!Stuart Henderson
ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BIND the monitor treats it as if it were a sockaddr. this is fine for v4 but fails for v6, so active connections break. problem reported and diff tested by Maurice Janssen. looks sensible to deraadt@.
2009-06-04ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BINDStuart Henderson
the monitor treats it as if it were a sockaddr. this is fine for v4 but fails for v6, so active connections break. problem reported and diff tested by Maurice Janssen. looks sensible to deraadt@.
2009-06-02Protect errno.Ray Lai
OK millert
2009-06-02comment spelling fix: ARSGUSED -> ARGSUSEDjmeltzer
2009-05-30Airplane work, undefined weak variables not getting resolved is not an error.Dale Rahn
Delete an unused manpage, remove some unused variables.
2009-05-20Do not fall back to using nobody if _user is missing, butThordur I. Bjornsson
error out. Add a new user _rwalld for rpc.rwalld, and use that instead of nobody, also unconditionally drop to _rwalld not only if rpc.rwalld was started with euid 0 (as root). ok deraadt@
2009-05-18Add buffer mechanism internal ld.so printing code. makes ktrace more readable.Dale Rahn
nudge nudge deraadt@
2009-05-18make _dl_wrstderr() not call write per-character; ok drahnTheo de Raadt
2009-04-20tweak previous;Jason McIntyre
2009-04-20When receiving a new connection, log the remote IP numberIngo Schwarze
in addition to the remote hostname. Feature requested by Mark Bucciarelli mkbucc at gmail dot com on misc@. "seems OK" millert@
2009-04-20PR 6090 - from Olli Hauer <ohauer@gmx.de>Bob Beck
A number of small improvements: - patch for empty lines and comments in alloweddomains_file - remove some whitespaces at end of line. - document comment and empty line handling - Remove unused parameter 'r' from getopt in spamd.c, it is removed in the 'switch statement' but not in getopt. http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/spamd/spamd.c.diff?r1=1.94;r2=1.95;f=h - replace atoi with strtonum - make debug output more usefull, display only what will be synced and not a second message which prints always "sync trapped %s" - some cosemtic and whitespace fixes.
2009-03-02ldd(1) accepts more than one program as argument; while here,Igor Sobrado
synchronize synopsis and usage.
2009-02-25fix slow memory leak, spotted by Max Laier and Artis CauneBob Beck
ok deraadt@, oga@, otto@
2009-02-19correct description of spamdb-setup blacklist only mode;Jason McIntyre
fixes documentation/6083; original diff and pr from Kami Petersen ok sthen
2009-02-17clarification for the MX stuff; requested by Stephan A. RickauerJason McIntyre
ok beck
2009-02-16Fix passing of ps_strings, cleanup and obj_main values to _start() in crt0.Kurt Miller
looks correct kettenis@
2009-02-04Tag ld.so as an OpenBSD binary/library.Mark Kettenis
ok kurt@, drahn@, miod@
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
with the right mdoc macros.