summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove these broken filemon tests.bdrewery2016-03-094-390/+0
| | | | | | | | | | They were not very useful in their current state. It only ran a fork bomb, confirmed headers/footers matched, hard-coded the number of expected entries (rather than ensuring each entry is present when expected), and was missing a sizeof_long.c file from r251368 which makes its intent for testing 32-bit binaries unclear. More extensive tests should be written with ATF now.
* cxgbe(4): Overhaul the shared code that deals with the chip's TP block,np2016-03-081-17/+58
| | | | | | | | | | which is responsible for filtering and RSS. Add the ability to use filters that match on PF/VF (aka "VNIC id") while here. This is mutually exclusive with filtering on outer VLAN tag with Q-in-Q. Sponsored by: Chelsio Communications
* cxgbe(4): Updated register dumps.np2016-03-075-159/+57687
| | | | | | | | | | | | - Get the list of registers to read during a regdump from the shared code instead of the OS specific code. This follows a similar move internally. The shared code includes the list for T6. - Update cxgbetool to be able to decode T5 VF, T6, and T6 VF register dumps (and catch up with some updates to T4 and T5 register decode). Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
* Don't install debug symbols onto embedded images...imp2016-03-071-0/+3
|
* Merge ^/head r296007 through r296368.dim2016-03-0317-53/+355
|\
| * Fix section numbers for autofs(5), kbdcontrol(1), vidcontrol(1), quota(1),trasz2016-03-014-5/+5
| | | | | | | | | | | | | | and telnet(1) in the right place. MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * Fix some whitespace nits in cxgbetool.c. No functional change.np2016-02-291-12/+12
| |
| * Document that WITHOUT_ELFCOPY_AS_OBJCOPY will be removedemaste2016-02-291-0/+1
| | | | | | | | | | | | In case ELF Tool Chain's elfcopy introduces any regressions this knob is available as a transition aid. It will be removed once we are confident that any regressions have been fixed.
| * Migrate athregs over to use the new stats API.adrian2016-02-282-6/+24
| |
| * Migrate athstats to use the new stats API.adrian2016-02-282-16/+23
| |
| * Begin abstracting out the access method for ath(4) ioctls.adrian2016-02-282-0/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | Each of the ath* commands do their own direct socket/ioctl calls, which makes it difficult to forklift upgrade things. So, this is the beginning of abstracting out the stats API calls in the hope that I can migrate things to use a /dev/athX file for ioctls and use a more general interface. Tested: * QCA9565 NIC, STA mode
| * Convert casperd(8) daemon to the libcasper.oshogbo2016-02-255-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge ^/head r295902 through r296006.dim2016-02-242-4/+3
|\ \ | |/
| * DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-241-2/+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
| * Convert to LIBADD.bdrewery2016-02-241-2/+3
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | Merge ^/head r295601 through r295844.dim2016-02-211-0/+4
|\ \ | |/
| * Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchainemaste2016-02-191-0/+4
| |
* | Merge ^/head r295351 through r295543.dim2016-02-1118-192/+220
|\ \ | |/
| * Remove unbound-contrl-setup since we use a local control socket whichdes2016-02-111-1/+0
| | | | | | | | | | | | | | does not require keys. MFC after: 3 days Relnotes: yes
| * Add WITH_GDB src.conf(5) descriptionemaste2016-02-111-0/+3
| |
| * Add missing src.conf(5) descriptions for tool chain componentsemaste2016-02-113-0/+13
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Update list of binutils controlled by WITHOUT_BINUTILS_BOOTSTRAPemaste2016-02-101-2/+1
| | | | | | | | | | | | | | Tools removed from the list are now provided by the ELF Tool Chain project and are not controlled by the WITHOUT_BINUTILS_BOOTSTRAP knob. Sponsored by: The FreeBSD Foundation
| * Correct the year, it's 2016.andrew2016-02-091-1/+1
| |
| * Add an ARMv7 config file to build nanobsd images for the qemu virtandrew2016-02-091-0/+48
| | | | | | | | | | | | platform. Sponsored by: ABT Systems Ltd
| * Add a format string to the err() calls.adrian2016-02-081-2/+2
| |
| * Make sure NANO_DISKIMGDIR exists.imp2016-02-071-0/+2
| |
| * semget(): Check for [EEXIST] error first.jilles2016-02-071-0/+9
| | | | | | | | | | | | | | | | | | | | Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and IPC_EXCL were both passed, the semaphore set already exists and has fewer semaphores than nsems, this does not allow an application to retry safely: if the [EINVAL] is actually because of the semmsl limit, an infinite loop would result. PR: 206927
| * Use new NANO_LOG to put the logs some place reasonable. Also, shareimp2016-02-071-38/+47
| | | | | | | | | | | | | | | | | | the object directory among all builds where it makes sense. When building with NANO_CPUTYPE, separate that out to its own object directory. Put disk files in their own directories. This should make having multiple variants of the same architecture saner.
| * Use NANO_LOG instead of NANO_OBJ for log file locations. Have itimp2016-02-071-22/+24
| | | | | | | | default to NANO_OBJ.
| * Add simple config for i386 BIOS boot.imp2016-02-071-0/+34
| |
| * Various fixups:imp2016-02-071-117/+35
| | | | | | | | | | | | | | | | o Make sure we create bsd label for MBR scheme (though we don't really need it for the efi case, and boot1 can't read it). Add notes about why we have to do this, at least for BIOS. o Make the BIOS / UEFI with gpt config work. o Remove now-moribund packaging stuff
| * Remove the hard-coded 'ath0' strings and use ATH_DEFAULT.adrian2016-02-076-13/+5
| | | | | | | | | | Remove the duplicate ATH_DEFAULT fields. The build bits should be including ../Makefile.inc as appropriate.
* | Merge ^/head r294961 through r295350.dim2016-02-065-13/+148
|\ \ | |/
| * Preliminary EFI support. Based, in part, on patches from Andy Turner.imp2016-01-302-8/+50
| | | | | | | | | | | | | | | | | | | | | | Add support for being able to boot off both UEFI and BIOS firmware, ala the memstick trick. Add support for writing to GPT volumes. Move away from using bsd labels at all for these embedded stuff. Minor tweaks to README.
| * Two new variables: NANO_ROOT and NANO_ALTROOT. These used to beimp2016-01-302-5/+12
| | | | | | | | | | | | | | | | spelled ${NANO_SLICE_ROOT}a and ${NANO_SLICE_ALTROOT}a respectively, and that's the default value. This will allow nanobsd on systems without a bsd label. That's rarely needed these days, even in an MBR world. The default will shift to this in the future, but remain an option.
| * Two new config files. One that has UEFI booting, and the other thatimp2016-01-302-0/+86
| | | | | | | | | | | | | | can do both UEFI and BIOS/GPT booting. Support for nanobsd coming soon. Based in part in a patch from: andrew@
* | Merge ^/head r294777 through r294960.dim2016-01-271-1/+1
|\ \ | |/
| * Default NANO_DRIVE to ada0 not ad0. This shouldn't affect workingimp2016-01-261-1/+1
| | | | | | | | | | | | | | configs (since they'd have to change NANO_DRIVE to be ada0 to work), but will fix old ones that used to work. MFC After: 1 week
* | Merge ^/head r294599 through r294776.dim2016-01-2610-114/+142
|\ \ | |/
| * Fix the various qemu configs to be buildable.imp2016-01-267-14/+14
| |
| * Use different ports in the TCP/UDP testcases with the first set andngie2016-01-231-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the second set (increment the original ports by 10) This avoids issues where the first listening socket might not be torn down by the time it makes it to the second set of testcases. The sockets should likely only be setup once, but this keeps in the spirit of the original testcases, so this will be easier to backport to ^/stable/9 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
| * Don't run the t_cmsg_len testcase on 64-bit architecturesngie2016-01-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | It always fails when trying to send through the sendit(9) private KPI in the kernel due to a size mismatch between the msghdr and data being sent [*], which suspiciously seems like it's related to sizeof pointers instead of scalars, or something of that ilk MFC after: 1 week PR: 206543, 206544 [*] Sponsored by: EMC / Isilon Storage Division
| * - Don't return immediately in check_xucred, check_scm_creds_cmsgcred, andngie2016-01-231-81/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | check_scm_creds_sockcred after initial != NULL checks have been done for debugging purposes - Use more terse names for bintime (bt), cmesgcred (cmcred), sockcred (sc), and timeval (tv) [*] - Add some debug messages to better understand some of the flow of the test program MFC after: 1 week Requested by: bde [*] Use of the word "terse" (^.^) corrected by: jhb, rpokala [*] Sponsored by: EMC / Isilon Storage Division
| * tools/tools/ath/ath_ee_v4k_print: reflect changes from r220589avos2016-01-221-9/+8
| | | | | | | | | | | | | | Fix printf() arguments + sort includes Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4045
* | Merge ^/head r294169 through r294598.dim2016-01-222-2/+61
|\ \ | |/
| * sem: Don't free nameinfo that is still in list when open() fails.jilles2016-01-221-0/+35
| | | | | | | | | | | | | | | | | | | | This bug could be reproduced easily by calling sem_open() with O_CREAT | O_EXCL on a semaphore that is already open in the process. The struct sem_nameinfo would be freed while still in sem_list and later calls to sem_open() or sem_close() could access freed memory. PR: 206396 MFC after: 5 days
| * Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup.bdrewery2016-01-191-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to be able to run check-links.sh against a "sysrooted" binary while ensuring that the ldd(1) call done on the host uses the host libc. It is not possible to set LD_LIBRARY_PATH before calling check-links.sh as then the "sysrooted" libc would be incorrectly used. A LD_PRELOAD=libc.so is used to ldd(1) as it needs to use the host libc to run. ldd(1) is a simple wrapper around execve(2) and dlopen(2) with env LD_TRACE_LOADED_OBJECTS set. Due to the dlopen(2) restriction on shared library tracing ldd(1) is still required for this lookup. Sponsored by: EMC / Isilon Storage Division
| * Add some documentation.bdrewery2016-01-191-0/+10
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Validate that the file exists rather than obscure 'Not an elf file' error.bdrewery2016-01-191-0/+5
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | Merge ^head r294090 through r294168.dim2016-01-1611-48/+57
|\ \ | |/
OpenPOWER on IntegriCloud