summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* libexec: minor spelling fixes in comments.pfg2016-05-014-4/+4
| | | | No functional change.
* Fix including Kyuafile in packaged base system.gjb2016-04-293-4/+7
| | | | | | | | | | | | Fix a related typo while here. Note, this change results in the Kyuafile inclusion in the runtime package, which needs to be fixed, however addresses the PR as far as I can tell in my tests. PR: 209114 Submitted by: ngie Sponsored by: The FreeBSD Foundation
* rtld-elf: use our roundup2() macro when param.h is available.pfg2016-04-191-2/+2
|
* rtld-elf: use NULL instead of zero for pointers.pfg2016-04-195-5/+5
|
* rbootd: use NULL instead of zero for pointers.pfg2016-04-181-2/+2
|
* ftpd: replace malloc + memset 0 with calloc.pfg2016-04-181-3/+2
| | | | | It is faster and usually safer. Use NULL instead of zero for the pointer.
* Remove lib/libcapsicum and libexec/casper, brought back asgjb2016-04-1716-1824/+0
| | | | | | | part of a merge mishap. Reported by: junovitch Sponsored by: The FreeBSD Foundation
* MFHgjb2016-04-137-34/+31
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Restore some comments in previous commit.pfg2016-04-121-3/+3
| |
| * bootpd(8): De-register and minor cleanups.pfg2016-04-127-37/+34
| | | | | | | | | | For bootptest(8) also remuve an unused variable and replace 0 with a NULL for a pointer.
* | MFHgjb2016-04-043-1/+11
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * WITHOUT_TOOLCHAIN: Fix build of rtld.bdrewery2016-03-311-0/+3
| | | | | | | | | | | | | | | | | | | | MK_TOOLCHAIN==no disables building and installing of pic archives. c_pic.a is still needed for rtld though so force it to build in lib/libc and link directly to the objdir version of it for rtld. Somehow this has been broken since r148725. Sponsored by: EMC / Isilon Storage Division
| * Do not override top level CFLAGS in libexec/dmakan2016-03-271-1/+1
| |
| * Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabledbapt2016-03-241-0/+7
| |
* | MFHgjb2016-03-105-0/+63
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-095-0/+63
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Fix handling of DT_TEXTREL for an object with more than one read-onlykib2016-03-023-19/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | segment. According to gABI spec, presence of the tag indicates that dynamic linker must be prepared to handle relocations against any read-only segment, not only the segment which we, somewhat arbitrary, declared the text. For each read-only segment, add write permission before relocs are processed, and return to the mapping mode requested by the phdr, after relocs are done. Reported, tested, and reviewed by: emaste PR: 207631 Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
* | MFHgjb2016-03-023-19/+42
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-03-029-88/+40
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Remove reaming files of the Casper daemon.oshogbo2016-02-275-115/+0
| | | | | | | | | | Reported by: emaste Approved by: pjd (mentor)
| * Missing tab.pfg2016-02-271-1/+1
| | | | | | | | Pointed out by: bapt
| * rlogin(1): Replace select(2) with poll(2).pfg2016-02-261-43/+23
| | | | | | | | Obtanied from: NetBSD (CVS Rev. 1.27 - 1.28)
| * getty(8): Undo incomplete support VEOL2 and VSTATUS.pfg2016-02-261-2/+1
| | | | | | | | Forgot to add some definitions for charnames[].
| * getty(8): Support VEOL2 and VSTATUSpfg2016-02-261-4/+5
| | | | | | | | | | | | Bring some type cleanups while here. Obtained from: NetBSD
| * getty(8): Use poll(2) and nanosleep(2) instead of select(2).pfg2016-02-261-14/+13
| | | | | | | | | | | | Sort headers while here. Obtained from: NetBSD (CVS Rev. 1.25 - 1.26)
| * Convert casperd(8) daemon to the libcasper.oshogbo2016-02-2513-1709/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture. Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277
| * DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-245-22/+0
| | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-02-186-0/+167
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Fix installation of makewhatis.local(1) since r283777.bdrewery2016-02-185-0/+166
| | | | | | | | | | | | | | | | The wrapper script has moved to libexec/makewhatis.local since it is not directlry related to the older makewhatis(1) utility that has been replaced by the usr.bin/mandoc version. Reported by: vangyzen
| * Fix build race after r295643.bdrewery2016-02-171-0/+1
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | Add libexec/smrsh to the sendmail package.gjb2016-02-081-0/+1
| | | | | | | | | | Submitted by: pfg Sponsored by: The FreeBSD Foundation
* | Create a package for sendmail(8).gjb2016-02-081-0/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Remove libc, librtld_db, libthr packages, and further increasegjb2016-02-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | the constraints on what needs to be installed in a specific to maintain consistency during upgrades. Create a new clibs package containing libraries that are needed as a bare minimum for consistency. With much help and input from: kib Sponsored by: The FreeBSD Foundation
* | Add missing files to 'at' and 'rcmds' packages.gjb2016-02-053-0/+3
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Capture a few stragglers that should be in the casper package.gjb2016-02-056-0/+6
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Include ld-elf.so and ld-elf32.so in the librtld_dbgjb2016-02-051-0/+1
| | | | | | | | | | | | package. Sponsored by: The FreeBSD Foundation
* | More 'tests' packaging fixes.gjb2016-02-033-0/+14
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-02-022-4/+11
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail onngie2016-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | 64-bit architectures where sizeof(int) != sizeof(size_t). MFC after: 1 week PR: 206758 Reported by: Christoph Schönweiler <public2016@hauptsignal.at> Submitted by: kib Sponsored by: EMC / Isilon Storage Division
| * This seems like a very trivial bug that should have been squashed a longsobomax2016-01-301-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | time ago, but for some reason it was not. Basically, without this change dlopen(3)'ing an empty .so file would just cause application to dump core with SIGSEGV. Make sure the file has enough data for at least the ELF header before mmap'ing it. Add a test case to check that dlopen an empty file return an error. There were a separate discussion as to whether it should be SIGBUS instead when you try to access region mapped from an empty file, but it's definitely SIGSEGV now, so if anyone want to check that please be my guest. Reviewed by: mjg, cem MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5112
* | First pass to fix the 'tests' packages.gjb2016-02-024-0/+16
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-01-291-3/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Do not unlock rtld_phdr_lock over callback invocations.kan2016-01-271-3/+1
| | | | | | | | | | | | The dl_iterate_phdr consumer code in libgcc does not expect multiple callbacks running concurrently. This was fixed once already in r178807, but accidentally got reverted in r294373.
* | MFHgjb2016-01-252-3/+5
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Follow r293066 adding a generalized exec hook for RISC-V as well.br2016-01-231-0/+2
| |
| * Fix initlist_add_object invocation parameters.kan2016-01-201-3/+3
| | | | | | | | | | | | The tail parameter should point to the last object for which dependencies should be processed. In most cases, this is the object itself.
* | Create a rcmds package.gjb2016-01-212-0/+3
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-01-2012-112/+198
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Do not call callbacks for dl_iterate_phdr(3) with the rtld bind andkib2016-01-2011-105/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | phdr locks locked. This allows to call rtld services from the callback, which is only reasonable for dlopen(path, RTLD_NOLOAD) to test existence of the library in the image, and for dlsym(). The later might still be not quite safe, due to the lazy resolution of filters. To allow dropping the locks around iteration in dl_iterate_phdr(3), we insert markers to track current position between relocks. The global objects list is converted to tailq and all iterators skip markers, globallist_next() and globallist_curr() helpers are added. Reported and tested by: davide Reviewed by: kan Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
| * Restore ABI variants now that ldconfig groks -soft. In addition, as aimp2016-01-183-7/+16
| | | | | | | | | | | | | | transition mechanism, if we don't have /usr/libsoft, assume that soft float ABI binaries are the default, so treat them as default binaries. When we've fully transitioned, it will make no sense to do this stat, and it will be removed.
OpenPOWER on IntegriCloud