summaryrefslogtreecommitdiffstats
path: root/libexec
AgeCommit message (Collapse)AuthorFilesLines
2010-07-30Don't set "success" flags before error checks.ray1-7/+9
Add check for login_getclass() failure, pointed out by tobias. OK tobias
2010-07-13handle Tm, like in tiff2psespie1-2/+2
2010-07-13work around a strange problem in locality of @_ by copying stuff.espie1-4/+4
okay millert@
2010-07-09don't print directly, use an interface that's similar enough to pkg_addespie5-98/+153
print framework so that we'll be able to integrate with it better. ok millert@
2010-07-02Add Makefile.inc for hppa64 to aid in building cross tools.jsing1-0/+6
ok drahn@ kettenis@
2010-07-01When generating grpsym lists, avoid duplicates without searching thedrahn5-14/+61
already generated list. Speeds up startup on deeply nested dlopen binaries. ok guenther@, tested by ckuethe@ and ajacoutot@
2010-06-18Prevent a segmentation fault on ftpd_popen error (memory, file descriptor,tobias1-1/+5
pipe ...) during status command. ok millert
2010-06-13Adjust FTP reply codes (in error conditions) to conform to RFC 959.tobias1-4/+4
ok millert, schwarze
2010-06-07Fix a comment typoguenther1-2/+2
2010-06-06add -H to synopsis/usage(); from Rod Whitworthjmc2-5/+5
2010-06-05Argh, revert previous change, for older binutils do not grok the fic() change.miod1-1/+6
2010-06-05Explicitely pass a %sr register to fic instructions, instead of realying onmiod1-3/+3
the assembler to pass %sr0 by default. No binary change. ok kettenis@
2010-05-27Synchronize caches after modifying the data words in the PLT stub to preventkettenis1-1/+13
instructions in the same cache line from being corrupted. ok deraadt@, miod@
2010-05-11Correct the _dl_sigprocmask() stub to take and store signal masksguenther1-3/+3
as 32bit values instead of 64bit values, synchronizing it with the libc stub. gcc4 apparently packs the stack in _dl_bind() more tightly, so this was resulting in the saved rbx register being overwriten. ok drahn@, marco@, NicM@
2010-05-09use _dl_memset() instead of bzero() here. Unbreaks sparc build.matthieu1-2/+2
ok kettenis@
2010-05-09Reserve space for 6 extended word argument slots required by the ABI.kettenis1-4/+4
Apparently gcc4 uses them in cases where gcc3 didn't. Fixes segmentation faults with gcc4 because the space for the slots was colliding with the space for dl_data that we allocated on the stack. ok miod@
2010-05-03Fix breakage from last commit. Bad guenther@, no cookie!miod1-7/+4
2010-05-03Make powerpc consistent with the other platforms: SYM_SEARCH_OBJguenther1-5/+5
overrides SYM_DLSYM, so remove the latter ok drahn@, testing krw@
2010-05-02Fix breakage from last commit. Bad guenther@, no cookie!kettenis1-3/+2
2010-05-02Combine the signal mask handling into _dl_thread_bind_lock(), as it's MI.guenther11-65/+48
ok drahn@
2010-05-01bzero a struct to appease gcc4.jsg1-1/+3
ok drahn@
2010-04-24Fix handling of more than 32768 PLT entries. Mostly from NetBSD.kettenis2-15/+24
eyeballed by deraadt@ and drahn@
2010-03-30several missing closedir() callszinovik3-3/+6
regress test run fine with this changes ok deraadt@, drahn@
2010-03-27Remove explicit nop's in delay slots introduced in the previous commit. Theykettenis1-3/+2
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 twokettenis3-17/+106
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. Whilekettenis1-2/+3
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.schwarze1-4/+4
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 dependentmiod1-4/+4
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.kettenis1-2/+2
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 -beck1-2/+10
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 thatclaudio1-1/+5
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 routingmcbride1-15/+5
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-11KNFbeck2-13/+13
2010-01-03Make lazy binding work on hppa.kettenis2-12/+81
ok miod@
2010-01-02Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.kettenis11-23/+33
ok miod@, deraadt@, jsing@
2010-01-02the abstraction of using a function pointer for the print functions isderaadt1-27/+27
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.drahn1-2/+2
2009-12-24deal with the new .Aq in perl manpages production.espie1-2/+5
- handle .ie, .el minimally - define \(aq as the ' symbol.
2009-11-22Move from the PF_RULESET_FILTER world order to PF_TRANS_RULESETderaadt1-2/+2
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 teduderaadt1-3/+3
2009-11-01remove unused variablechl1-2/+1
ok sthen@
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt37-320/+37
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.sobrado1-3/+5
2009-10-11Support manpages with NAME written in Spanish/Italian/Portuguesesthen1-2/+2
ok espie@
2009-09-17merge/update the spamlogd rules into spamd - there were some subtlejmc2-20/+19
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 theclaudio1-80/+68
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 henningjmc1-5/+5
2009-09-01match samples here with pf.conf(5) sample ruleset following recent pf changestodd1-6/+9
ok henning@
2009-09-01Adjust example pf rules to take nat-to/rdr-to into account.sthen1-26/+13
2009-09-01adapt to new pf, ok henning@sthen1-77/+26