aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix installation of makewhatis.local(1) since r283777.Bryan Drewery2016-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 Notes: svn path=/head/; revision=295733
| * Fix build race after r295643.Bryan Drewery2016-02-171-0/+1
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295683
* | Add libexec/smrsh to the sendmail package.Glen Barber2016-02-081-0/+1
| | | | | | | | | | | | | | | | Submitted by: pfg Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295406
* | Create a package for sendmail(8).Glen Barber2016-02-081-0/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295403
* | Remove libc, librtld_db, libthr packages, and further increaseGlen Barber2016-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 Notes: svn path=/projects/release-pkg/; revision=295337
* | Add missing files to 'at' and 'rcmds' packages.Glen Barber2016-02-053-0/+3
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295294
* | Capture a few stragglers that should be in the casper package.Glen Barber2016-02-056-0/+6
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295293
* | Include ld-elf.so and ld-elf32.so in the librtld_dbGlen Barber2016-02-051-0/+1
| | | | | | | | | | | | | | | | | | package. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295292
* | More 'tests' packaging fixes.Glen Barber2016-02-033-0/+14
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295216
* | MFHGlen Barber2016-02-022-4/+11
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295172
| * Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail onEnji Cooper2016-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 Notes: svn path=/head/; revision=295079
| * This seems like a very trivial bug that should have been squashed a longMaxim Sobolev2016-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 Notes: svn path=/head/; revision=295059
* | First pass to fix the 'tests' packages.Glen Barber2016-02-024-0/+16
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295171
* | MFHGlen Barber2016-01-291-3/+1
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295040
| * Do not unlock rtld_phdr_lock over callback invocations.Alexander Kabaev2016-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. Notes: svn path=/head/; revision=294936
* | MFHGlen Barber2016-01-252-3/+5
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294728
| * Follow r293066 adding a generalized exec hook for RISC-V as well.Ruslan Bukin2016-01-231-0/+2
| | | | | | | | Notes: svn path=/head/; revision=294623
| * Fix initlist_add_object invocation parameters.Alexander Kabaev2016-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. Notes: svn path=/head/; revision=294470
* | Create a rcmds package.Glen Barber2016-01-212-0/+3
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294517
* | MFHGlen Barber2016-01-2012-112/+198
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294408
| * Do not call callbacks for dl_iterate_phdr(3) with the rtld bind andKonstantin Belousov2016-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 Notes: svn path=/head/; revision=294373
| * Restore ABI variants now that ldconfig groks -soft. In addition, as aWarner Losh2016-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. Notes: svn path=/head/; revision=294296
* | MFHGlen Barber2016-01-141-7/+1
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293915
| * Remove the compat code to handle the kernel passing us an unalingedAndrew Turner2016-01-131-7/+1
| | | | | | | | | | | | | | | | | | | | | | stackpointer. Userland expects the kernel to pass it an aligned sp and pass a pointer to the arguments in x0. The kernel side was updated in r289502, 3 months ago. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=293832
* | MFHGlen Barber2016-01-122-5/+2
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293718
| * Revert r293201, r293202 (rtld: populate DT_DEBUG iff DYNAMIC segment is ↵Ed Maste2016-01-082-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | writable) It turns out MIPS binaries may have other oddities that can trigger a fault at startup. PR: 206017 Reported by: ray Notes: svn path=/head/; revision=293403
* | MFHGlen Barber2016-01-071-1/+1
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293336
| * Disable abi variant hook until strangeness with packages can be sortedWarner Losh2016-01-051-1/+1
| | | | | | | | | | | | | | out. Notes: svn path=/head/; revision=293226
* | MFHGlen Barber2016-01-052-2/+5
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293225
| * rtld: populate DT_DEBUG iff DYNAMIC segment is writableEd Maste2016-01-051-0/+1
| | | | | | | | | | | | | | rtld.h was accidentally missed in r293201 Notes: svn path=/head/; revision=293202
| * rtld: populate DT_DEBUG iff DYNAMIC segment is writableEd Maste2016-01-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIPS has/had a read-only DYNAMIC segment, and uses an extra level of indirection (through MIPS_RLD_MAP) to locate the debugger rendezvous data. Some linkers (e.g. LLVM's lld) may produce MIPS binaries with a writable DYNAMIC segment, which would allow us to eventually drop a special case. Therefore, instead of hardcoding knowledge that DYNAMIC is not writable on MIPS just check the permissions on the segment. Reviewed by: kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4791 Notes: svn path=/head/; revision=293201
* | MFHGlen Barber2016-01-051-2/+2
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293196
| * rtld: wrap a comment to 80 columnsEd Maste2016-01-051-2/+2
| | | | | | | | Notes: svn path=/head/; revision=293187
* | MFH r289384-r293170Glen Barber2016-01-0437-120/+1114
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293172
| * If md_exec_hook is defined, provide a way to create the stringsWarner Losh2016-01-031-2/+18
| | | | | | | | | | | | | | | | | | | | for the environment variables we look up at runtime. Otherwise, there's no way they will change, optimize it at compile time. Differential Review: https://reviews.freebsd.org/D2718 Notes: svn path=/head/; revision=293069
| * Create a generalized exec hook that different architectures can hookWarner Losh2016-01-0311-3/+63
| | | | | | | | | | | | | | | | | | into if they need to, but default to no action. Differential Review: https://reviews.freebsd.org/D2718 Notes: svn path=/head/; revision=293066
| * Unify the ELFv1 and ELFv2 code paths and make ELFv1 (the normal ABI) moreNathan Whitehorn2016-01-012-39/+33
| | | | | | | | | | | | | | | | | | correct in the process. MFC after: 2 weeks Notes: svn path=/head/; revision=293018
| * Use a macro to create the names for the library path names. This willWarner Losh2015-12-272-23/+26
| | | | | | | | | | | | | | | | | | | | allow later substitution at run time instead of compile time of the environment variable name prefix. Differential Review: https://reviews.freebsd.org/D2718 Notes: svn path=/head/; revision=292810
| * rtld: remove old XXX comment missed in r35529Ed Maste2015-12-241-1/+0
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=292705
| * Add support for RISC-V architecture.Ruslan Bukin2015-12-244-1/+641
| | | | | | | | | | | | | | | | | | | | Reviewed by: andrew, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4679 Notes: svn path=/head/; revision=292691
| * rtld: Use common NT_FREEBSD_* note types introduced in r291909Ed Maste2015-12-211-4/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=292575
| * Use variable names that aren't as prone to dyslexic confusion.Warner Losh2015-12-181-2/+2
| | | | | | | | | | | | | | Suggested by: jmallet@ Notes: svn path=/head/; revision=292427
| * Fix LDADD/DPADD that should be LIBADD.Bryan Drewery2015-12-041-2/+1
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291738
| * Follow-on to r291666: use -ffreestanding instead of -fno-builtin.Nathan Whitehorn2015-12-031-1/+1
| | | | | | | | | | | | | | Requested by: kib Notes: svn path=/head/; revision=291723
| * Provide support for ELFv2 userland if using a newer compiler (recent clangNathan Whitehorn2015-12-034-10/+70
| | | | | | | | | | | | | | or gcc) and binutils >= 2.24. Not enabled by default. Notes: svn path=/head/; revision=291668
| * Fix build on GCC 5.2 where, at least on PPC64, the compiler would "optimize"Nathan Whitehorn2015-12-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | the malloc() + memset() in the local implementation of calloc() into a call to calloc(), helpfully turning it into an infinite loop. Clean up some unneeded flags on PPC64 while here. MFC after: 1 month Notes: svn path=/head/; revision=291666
| * Fix build after r291620.Bryan Drewery2015-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "don't know how to make /Versions.def. Stop" This was trying to define a target in bsd.symver.mk based on LIBCDIR which was not yet defined. Switching the order of inclusion of bsd.prog.mk and bsd.symver.mk fixes it and seems fine. Pointyhat to: bdrewery Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291622
| * Don't override LIB*DIR variables from src.libnames.mk.Bryan Drewery2015-12-011-4/+2
| | | | | | | | | | | | | | | | | | | | | | In some cases switch to the LIB*SRCDIR value. These recently were defined in r291327 and r291619. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291620
| * META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-018-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
| * Update dependencies after r291406 added libelf to libkvm.Bryan Drewery2015-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Unfortunately filemon/meta mode tracks all indirect dependencies here since ld(1) is reading libelf when linking in libkvm. Churn would be reduced if this was able to be limited to direct dependencies. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291558