summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Put back a test for binaries with no PT_LOAD entries I over-jealoslykan2002-11-291-0/+4
| | | | | | removed in r1.69. Apploved by: re (rwatson)
* mdoc(7) police:ru2002-11-251-37/+35
| | | | | | | | | Properly sort options, spell "file system" correctly, expand contraction. Catch up to the src/etc/syslog.conf,v 1.23 change: ftpd(8) session logs are now by default get logged to /var/log/xferlog. Approved by: re
* Fix the handling of high PLT entries (> 32764) on sparc64. This requirestmm2002-11-1812-213/+242
| | | | | | | | additional arguments to reloc_jmpslot(), which is why MI code and MD code of other platforms had to be changed. Reviewed by: jake Approved by: re
* Oops. Some ut_time stuff slipped through the cracks. These turned outpeter2002-11-171-1/+2
| | | | to be non-fatal due to stack alignment roundups.
* [DAIVD O'BRIEN's OPINION]obrien2002-11-121-1/+4
| | | | Head off what I think is an abuse of the TRB, and disable lukemftpd.
* o Fix usage().maxim2002-11-121-5/+20
| | | | | | | | o Explicitly initialize domain pointer. o Fix passwd file parsing. PR: bin/39671 (3) MFC after: 2 weeks
* We don't use libpam, libopie, or libmd.obrien2002-11-121-12/+2
|
* We have fparseln(3). Also libskey on RELENG_4.obrien2002-11-121-2/+8
|
* Update for version 1.2 Beta 2.obrien2002-11-121-5/+5
|
* Don't free the current addrinfo list, or else a pointer to a freedyar2002-11-111-1/+1
| | | | | | | | | memory area would arise. Only an addrinfo list from an earlier call to getaddrinfo() should be freed there because it will be substituted by the current list referenced by "res". Reported by: John Long <fbsd1@pruam.com> MFC after: 5 days
* Have ftpd specify the LOGIN_SETMAC flag to setlogincontext() so thatrwatson2002-10-241-2/+3
| | | | | | | | | | | | | | | MAC labels are set if MAC is enabled and configured for the user logging in. Note that lukemftpd is not considered a supported application when MAC is enabled, as it does not use the standard system interfaces for managing user contexts; if lukemftpd is used with labeled MAC policies, it will not properly give up privileges when switching to the user account. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Unbreak by merging the change in r1.51 of src/libexec/ftpd/Makefile.kuriyama2002-10-241-1/+1
|
* Teach "ls -Z" to use the policy-agnostic MAC label interfaces ratherrwatson2002-10-241-1/+1
| | | | | | | | | | | than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add support for binaries with arbitrary number of PT_LOAD sections.kan2002-10-232-45/+55
| | | | Reviewed by: peter
* Change the symbol lookup order to search RTLD_GLOBAL objectskan2002-10-191-12/+12
| | | | | | | | | | before referencing object's DAG. This makes it possible for C++ exceptions to work across shared libraries and brings us closer to the search order used by Solaris/Linux. Reviewed by: jdp Approved by: obrien MFC after: 1 month
* Fix a problem with RTLD_TRACE flag to dlopen(3), which sometimes can returnsobomax2002-10-191-6/+8
| | | | | | | | | | | | | even if there was no error occured (when trying to dlopen(3) object that already linked into executable which does dlopen(3) call). This is more proper fix for `ldd /usr/lib/libc.so' problem, because the new behaviour conforms to documentation. Remove workaround from ldd.c (rev.1.32). PR: 35099 Submitted by: Nathan Hawkins <utsl@quic.net> MFC after: 1 week
* Don't call report() without a format string.kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Mark the logerr() function __printflike().kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Use strlcpy instead of incorrectly using strncpy.kris2002-10-131-1/+1
| | | | MFC after: 2 weeks
* Use the new freebsd output format from Binutils 2.13.1.obrien2002-10-121-2/+2
|
* de-__P()alfred2002-10-092-2/+2
|
* <machine/atomic.h> requires <sys/types.h>.ru2002-10-092-2/+1
| | | | Reviewed by: jake, mike
* Hook rpc.rstatd back up to the build now that it compiles.mike2002-10-021-1/+2
|
* Rename local function havedisk() to haveadisk() to avoid conflict amike2002-10-021-3/+3
| | | | with another function by the same name in a system header.
* Unhook rpc.rstatd from the build until it actually compiles.jhb2002-10-021-2/+1
|
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-252-10/+10
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-172-8/+2
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Return an error if a symbol is not found in reloc_jmpslots() instead oftmm2002-09-141-0/+2
| | | | crashing.
* Was mising ftpchroot.5obrien2002-08-301-0/+1
| | | | | PR: 40717 Submitted by: Andrew <andrew@ugh.net.au>
* The mode can be "r+" as well on PUT, but only "a" on APPE.yar2002-08-291-1/+1
|
* Fix lexer jam on unimplemented commands.yar2002-08-291-12/+13
| | | | | Submitted by: maxim MFC after: 5 days
* Remove variables no longer used.yar2002-08-271-2/+1
|
* More inithosts() fixes:yar2002-08-271-8/+15
| | | | | | | | | | | o Don't free(3) memory occupied by host structures already in the host list. o Set hrp->hostinfo to NULL if a host record has to stay in the host list, but is to be ignored. Selecthost() knows that. o Reduce the pollution with excessive NULL checks. o Close a couple of memory leaks. MFC after: 1 week
* Fix an inconsistency between a printf-like format and its argument list.yar2002-08-271-1/+1
| | | | | Submitted by: kris MFC after: 3 days
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-252-5/+6
|
* Add option '-W': don't log FTP sessions to wtmp.yar2002-08-232-5/+15
| | | | | Submitted by: maxim MFC after: 1 week
* Fix a nasty memory corruption bug caused by having a bogus pointermarcel2002-08-221-0/+8
| | | | | | | | | | | | for the DT_IA64_PLT_RESERVE dynamic table entry. When a shared object does not have any PLT relocations, the linker apparently doesn't find it necessary to actually reserve the space for the BOR (Bind On Reference) entries as pointed to by the DTE. As a result, relocatable data in the PLT was overwritten, causing some unexpected control flow with annoyingly predictable outcome: coredump. To reproduce: % echo 'int main() { return 0; }' > foo.c % cc -o foo foo.c -lxpg4
* Include stddef.h for NULL definition, rather than rolling our own here.imp2002-08-211-2/+1
| | | | Reviewed by: jdp
* Clean up hostname and hostinfo handling in inithosts():yar2002-08-201-5/+13
| | | | | | | | | o check getaddrinfo(3) return value, not result pointer o getaddrinfo(3) returns int, not pointer o don't leak memory allocated for hostnames and hostinfo structures o initialize pointers that will be checked for NULL somewhere MFC after: 1 week
* Add support for the R_IA64_IPLTLSB relocation in non-PLT context.marcel2002-08-201-0/+30
| | | | | | This relocation creates a function descriptor at the specified address and is commonly used for C++ to create virtual function tables.
* Include <nlist.h> for nlist interfaces instead of depending on namespacebde2002-08-181-0/+1
| | | | pollution in <kvm.h>.
* Bump document date for the 'beep only' change.johan2002-08-161-1/+1
|
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-132-2/+2
|
* Fix a wrong comment on (hopefully) right code.yar2002-08-131-2/+2
| | | | MFC after: 3 days
* Add tcpd to the build - though we don't need to for inetd, someone mightdwmalone2002-08-131-0/+1
| | | | | | | want it for some other service-running program. Approved by: markm MFC after: 1 week
* Fix command help lines:yar2002-08-131-2/+2
| | | | | | | | o PORT takes six byte values, not five. o TYPE argument is mandatory. Submitted by: demon (the 1st part) MFC after: 3 days
* mdoc(7) police: nits.ru2002-08-131-2/+3
|
* mdoc(7) police: tidy up.ru2002-08-131-14/+19
|
* Fix typos; each file has at least one s/seperat/separat/schweikh2002-08-111-1/+1
| | | | | | | | | | (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days
* Rework storing files thoroughly. This includes:yar2002-08-082-24/+84
| | | | | | | | | | | | | | | | | | | | | | | o Remove the race between stat(2) & fopen(3) when creating a unique file. o Improve bound checking when generating a unique name from a given pathname. o Ignore REST marker on APPE. No RFC specifies this case, but the idea of resuming APPE's implies this. o By default, deny upload resumes and appends by anonymous users. Previously these commands were translated to STOU silently, which led to broken files on server without any notification to the user. o Add an option, -m, to allow anonymous users to modify existing files (e.g., to resume uploads) if filesystem permissions permit. Portions obrainded from: OpenBSD MFC after: 3 weeks
OpenPOWER on IntegriCloud