summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* getcwd() won't leave a error string in the buffer, unlike getwd().yar2004-11-181-1/+1
|
* Use POSIX functions instead of legacy ones:yar2004-11-171-2/+2
| | | | | getwd() -> getcwd() wait3() -> waitpid()
* Kill more unneeded casts found.yar2004-11-172-4/+4
| | | | Noticed by: Nick Leuta <skynick -at- mail.sc.ru> (some of them)
* Remove 80386 support from the ELF run time linker.jhb2004-11-162-163/+0
|
* Don't invent ways of capitalization orthogonal to the English grammar.yar2004-11-151-2/+2
|
* RFC 959 states that the following codes should be usedyar2004-11-151-3/+5
| | | | | | | | | | for status replies on file system objects: 212 Directory status. 213 File status. Reported by: Oleg Koreshkov <okor -at- zone.salut.ru> MFC after: 1 week
* So do it like we do in usr.bin/tip/tip/Makefile. ;)ru2004-11-141-0/+2
|
* Revert previous commit. As ru explains:schweikh2004-11-141-1/+1
| | | | | | | | | | | In the old world (as the surrounding comment in makefile says), there was the /usr/libexec/ld-elf.so.1 binary which is now a symlink to /libexec/ld-elf.so.1. To symlink, we need to make sure that the _target_ (and the target is /usr/libexec/ld-elf.so.1) doesn't have "schg" flag set. A real solution is to protect the chflags call only if target exists, like we do in usr.bin/tip/tip/Makefile. Requested by: ru
* Avoid an (ignored) error by invoking chflags on the link target, not theschweikh2004-11-141-1/+1
| | | | | | | | symlink. PR: kern/73016 Submitted by: John E. Hein <jhein@timing.com> MFC after: 1 week
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-2/+7
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Using off_t to pass a block size is obvious overkill.yar2004-11-131-2/+2
| | | | | | | The size_t type is better suited for that, particularly because the "blksize" argument is to be passed to malloc() and read(). On 64-bit archs it's more to a style issue, but the good style of coding in C is also important.
* Kill ancient casts to integral types left from the K&R era.yar2004-11-133-9/+9
| | | | They're unneeded and sometimes erroneous now.
* Remove these unused files before any other archs include the same bogusjhb2004-11-126-1057/+0
| | | | file.
* The 32 bit compatability ld-elf32.so.1 cannot use i386_set_ldt() whenpeter2004-11-061-0/+6
| | | | | running on an amd64 kernel. Use the recently exposed direct %fs/%gs set routines instead for the TLS setup of 32 bit binaries.
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-032-2/+4
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Fix logxfer() by using realpath(3) instead of playing with getwd(3).yar2004-11-031-4/+8
| | | | | | | | Previously logxfer() used to record bogus pathnames to the log in some cases, namely, when cwd was / or "name" was absolute. Noticed by: Nick Leuta MFC after: 2 weeks
* Replace the last occurence of (long long) and %qd withyar2004-11-021-2/+2
| | | | | | | (intmax_t) and %jd, which is the right way to printf an off_t in the presence of <stdint.h>. Submitted by: Nick Leuta
* Implement TLS relocations for powerpc.ssouhlal2004-11-022-3/+73
| | | | Approved by: grehan (mentor)
* Do the TLS offset allocations before relocations, as otherwise theressouhlal2004-11-021-11/+11
| | | | | | | can be overlap in the TLS offsets, if the relocations are done in a certain order. Approved by: dfr, grehan (mentor)
* OpenPAM allows passing a NULL "pamh" to pam_strerror() to indicateyar2004-11-011-2/+5
| | | | | | | | | that the creation of a PAM context has failed. N.B. This does not apply to pam_strerror() in RELENG_4, it will mishandle a NULL "pamh". Discussed with: des
* - Stop shadowing global "pamh" by a local variable in auth_pam().yar2004-10-301-9/+15
| | | | | | | | | - Stop calling pam_strerror() with NULL pamh. - Add a missing call to pam_end(). PR: bin/59776 Submitted by: Nick Leuta <see PR for email> MFC after: 2 weeks
* Describe the semantics of the sgetpwnam() helper functionyar2004-10-301-0/+3
| | | | | in the comment above it so that nobody will save pointers returned inside "struct passwd" across the calls to the function.
* Log the actual number of bytes sent on the wire to /var/log/ftpdyar2004-10-241-2/+2
| | | | | | | | | | instead of the disk size of the file sent. Since the log file is intended to provide data for anonymous ftp traffic accounting, the disk size of the file isn't really informative in this case. PR: bin/72687 Submitted by: Oleg Koreshkov MFC after: 1 week
* For variables that are only checked with defined(), don't provideru2004-10-243-3/+3
| | | | any fake value.
* Remove definition of struct dom_binding, it's non-standard C code andstefanf2004-10-172-2/+0
| | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
* We must not fall back to the old way (read-write)yar2004-10-151-1/+1
| | | | | | | | if sendfile() transferred some data before throwing a error condition because sendfile() won't move the file offset for read() to start from. MFC after: 2 weeks
* Clean-up around sendfile(): drop an excessive check for error condition.yar2004-10-151-2/+2
|
* Account for the fact that sendfile(2) may hit the end of fileyar2004-10-151-1/+12
| | | | | | | | prematurely, e.g., if the file has been truncated by someone else. PR: bin/72649 Submitted by: Oleg Koreshkov (portions) MFC after: 2 weeks
* Correct grammos. Added BUGS: may mishandle nonstandard manual pages,schweikh2004-10-061-3/+5
| | | | especially third party junk^Wpages, like emulators/mtools(1) and friends.
* Report once that the device isn't there, but keep trying. Don'timp2004-09-291-21/+14
| | | | | filter the errno values. They don't make as much sense as they used to given how we do devices in /dev.
* Don't try to relocate the dynamic loader in reloc_non_plt(). It has alreadycognet2004-09-281-1/+4
| | | | been done before.
* Use add instead of saving the sp in a register.cognet2004-09-281-2/+1
|
* Indent.maxim2004-09-241-7/+7
|
* o Merge rev. 1.5 libexec/ftpd/ftpd.c from DragonflyBSD:maxim2004-09-241-0/+2
| | | | | | | | | | | | Do not unconditionally fork() after accept(). accept() can return -1 due to an interrupted system call (i.e. SIGCHLD). If we fork in that case ftpd can get into an accept()/SIGCHLD/fork/[fail]/repeat loop. Reported-by: fabian <fabian.duelli@bluewin.ch> Obtained from: DragonflyBSD MFC after: 1 month
* Add stubs for TLS.cognet2004-09-234-16/+32
| | | | Arbitraly choose the 2nd variant until I figure out which one I should use.
* Remove named-xfer, it does not exist in BIND 9.trhodes2004-09-221-30/+0
|
* Switch from BIND 8 to BIND 9.des2004-09-211-5/+0
| | | | | | Submitted by: (in part) dougb@, trhodes@ Reviewed by: dougb@, trhodes@, re@ MFC after: 5 days
* Avoid accidental use of ANSI C trigraphs.maxim2004-08-211-1/+2
| | | | | Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13)
* Add some details about our wonderful system.obrien2004-08-211-1/+17
|
* Turn on the FreeBSD login user capabilities database support.obrien2004-08-181-1/+1
|
* Instead of "OpenFirmware", "openfirmware", etc. use the official spellingmarius2004-08-161-1/+1
| | | | | | "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended). Ok'ed by: tmm
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Add stubs for powerpc TLS.dfr2004-08-043-5/+43
| | | | Submitted by: ssouhlal
* Add support for Thread Local Storage.dfr2004-08-0314-2/+883
|
* ftpd(8) seems to be WARNS=2 clean now.yar2004-07-311-0/+1
| | | | Tested on: i386, ia64, amd64, sparc64, alpha
* Change ``(foo *)0'' to ``NULL'' where it's possibleyar2004-07-312-11/+11
| | | | | | | (and it appears possible throughout ftpd(8) source.) It is not a mere issue of style: Null pointers in C seem to have been mistaken one way or another quite often.
* Kill a small herd of casts to off_t where they were not needed.yar2004-07-312-10/+9
| | | | | | Thank Fortune, the C compiler can figure out by itself the proper conversion for assignments, comparisons, and prototyped function arguments.
* Printf(3) off_t values through conversion to intmax_t sinceyar2004-07-312-10/+15
| | | | we've got <stdint.h> et al now. (This makes ftpd(8) WARNS=2 clean.)
* Kill an unused variable (heading to WARNS=2.)yar2004-07-311-1/+0
|
* Convert a couple of bogus null statements to the right form.yar2004-07-311-2/+2
| | | | (Heading to WARNS=2.)
OpenPOWER on IntegriCloud