summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Copy releng/8.2 to release/8.2.0 for 8.2-RELEASE.release/8.2.0_cvsKen Smith2011-02-16428-429/+429
| | | | | | Approved by: re (implicit) This commit was manufactured to restore the state of the 8.2-RELEASE image.
* Adjust the FreeBSD version printed as part of manual pages.Ken Smith2010-12-221-1/+2
| | | | | | | Approved by: re (implicit) Notes: svn path=/releng/8.2/; revision=216636
* Merge MIPS platform support to 8-STABLE.Jayachandran C.2010-11-276-11/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit merges the MIPS platform changes that was now stable in -CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list here. But the changesets merged in this commit that affect other platforms are summarized below: r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h) Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. r205845: (changes to sys/modules/Makefile) Fix for building modules on mips and arm. r204031: (changes to sys/kern/link_elf_obj.c) printf fix, as part of kernel module support for MIPS. r206404: (changes to sys/arm/include/bus.h) Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the other platforms - for arm and mips. r206819: (changes to sys/vm/) Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which is used to allocate kernel stack address on MIPS. r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c) Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are enabled. r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c) Simplify the inner loop of get_pv_entry() r208794: (changes to sys/vm/) Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() fails to allocate MIPS page table pages. r210327: (changes to sys/vm/) Support for MIPS page table page allocation. Add a new function 'vm_page_t vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to allocate a page from a specified freelist, and other related changes. Reviewed by: alc(vm changes only) Approved by: kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc) Notes: svn path=/stable/8/; revision=215938
* MFC r209690:Konstantin Belousov2010-11-031-0/+37
| | | | | | | | For "thread signal" command, print some information from siginfo when available. Notes: svn path=/stable/8/; revision=214760
* MFC r213835: Add FreeBSD 8.2.Jaakko Heinonen2010-10-171-0/+1
| | | | Notes: svn path=/stable/8/; revision=213951
* MFC r213487:Xin LI2010-10-091-0/+1
| | | | | | | Add definition for FreeBSD 7.4, which will be used in a manual page change. Notes: svn path=/stable/8/; revision=213640
* MFC r213013:Ed Maste2010-10-081-1/+3
| | | | | | | | | Move test for zero bufp or size before rseq and wseq calculation. This avoids spinning in an infinite loop for some (possibly corrupt?) core files at work. Notes: svn path=/stable/8/; revision=213577
* MFC r206622,207939,208593,208732,209031: mdoc cleanupUlrich Spörlein2010-08-271-1/+1
| | | | | | | | | | - order prologue by Dd/Dt/Os - fix prologue - remove empty lines and other garbage - uppercase document title Notes: svn path=/stable/8/; revision=211872
* MFC r210424: kgdb: correctly map sections to addresses in elf objectAndriy Gapon2010-08-211-6/+28
| | | | | | | modules (amd64) Notes: svn path=/stable/8/; revision=211587
* MFC r209738:Benedict Reuschling2010-07-201-0/+10
| | | | | | | | | | | | | | | | Mention the radiolist option in the man page. It is being listed when dialog(1) is run without arguments and works as expected. Therefore, it should be part of the manual as well. Note: dialog(1) has not been updated for many years and is not actively maintained at the moment. PR: docs/139682 Submitted by: manolis@ Discussed with: jkim@ Notes: svn path=/stable/8/; revision=210297
* Change the FreeBSD version that will be printed for the manual pages.Ken Smith2010-05-261-1/+1
| | | | | | | Approved by: re (implicit) Notes: svn path=/stable/8/; revision=208569
* MFC: r208320Jung-uk Kim2010-05-251-1/+1
| | | | | | | | | | | | | | | Add a new build option, MAN_UTILS. This option lets you control building utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. Note this patch implicitly fixes a documentation bug of src.conf(5), which says WITHOUT_MAN may be used to not build manual pages while it was also disabling some utilities for manual pages. Approved by: re (kib) Notes: svn path=/stable/8/; revision=208546
* MFC r207383:Xin LI2010-05-031-0/+1
| | | | | | | | Add FreeBSD 8.1 to known list as it's being referenced by a couple of manpages already. Notes: svn path=/stable/8/; revision=207559
* MFC r205702:Xin LI2010-03-294-1101/+0
| | | | | | | | | | | | | | Remove GNU cpio after fix of CVE-2010-0624. Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Notes: svn path=/stable/8/; revision=205848
* MFC r205630 (imp):Xin LI2010-03-261-0/+1
| | | | | | | | This broke when we went to gnu99 as the default standard. Fix the build by reverting to the gnu89 standard. Notes: svn path=/stable/8/; revision=205701
* MFC r203823: kgdb: initialize n_type field of nlist entry for kvm_nlistAndriy Gapon2010-03-021-0/+1
| | | | Notes: svn path=/stable/8/; revision=204592
* MFC r203357: teach groff about libgpib.Joerg Wunsch2010-02-041-0/+1
| | | | Notes: svn path=/stable/8/; revision=203500
* MFC: Sync Groff with trunk except libulog addition.Ruslan Ermilov2010-01-181-3/+1
| | | | Notes: svn path=/stable/8/; revision=202570
* MFC r197393Alan Cox2009-11-011-0/+2
| | | | | | | Add FreeBSD 7.2 and 7.3. Notes: svn path=/stable/8/; revision=198771
* MFC r197259Stephane E. Potvin2009-09-242-1/+3
| | | | | | | | | | | The buffer returned by fgetln is not a "C" string and might not be NUL terminated. Make sure that it is before using it. Reviewed by: marck@ Approved by: re (kib) Notes: svn path=/stable/8/; revision=197472
* Back out previous revision until better tested fix is ready.Alexander Kabaev2009-06-291-8/+0
| | | | | | | Approved by: re (impliciti, by approving previos check-in) Notes: svn path=/head/; revision=195152
* Eliminate .text relocations in shared libraries compiled with stack protector.Alexander Kabaev2009-06-281-0/+8
| | | | | | | | | | | | | | | Use libssp_nonshared library to pull __stack_chk_fail_local symbol into each library that needs it instead of pulling it from libc. GCC generates local calls to this function which result in absolute relocations put into position-independent code segment, making dynamic loader do extra work everys time given shared library is being relocated and making affected text pages non-shareable. Reviewed by: kib Approved by: re (kensmith) Notes: svn path=/head/; revision=195151
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getJamie Gritton2009-06-241-0/+1
| | | | | | | | | system calls and the security.jail.param sysctls. Approved by: bz (mentor) Notes: svn path=/head/; revision=194869
* Don't set $PATH - if the caller doesn't have /bin and /usr/bin in theirBrian Somers2009-06-141-1/+0
| | | | | | | | | | PATH then they can expect things to break. PR: 135417 MFC after: 3 weeks Notes: svn path=/head/; revision=194158
* Change the internal buffer used to store input lines from a static bufferStephane E. Potvin2009-05-086-53/+74
| | | | | | | | | | | to a dynamically allocated one in order to support input lines of arbitrary length. Approved by: kan (mentor) MFC after: 1 month Notes: svn path=/head/; revision=191910
* Fix build breakage due to the interplay between r189801 and r189824.David Schultz2009-03-141-0/+1
| | | | | | | | | | In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.) Notes: svn path=/head/; revision=189834
* Define a macro for POSIX.1-2008 here until a future groff importDavid Schultz2009-02-281-0/+4
| | | | | | | includes one. Notes: svn path=/head/; revision=189135
* Initial gdbserver support for PowerPC.Rafal Jaworowski2009-02-234-1/+274
| | | | | | | Obtained from: Juniper Networks, Semihalf Notes: svn path=/head/; revision=188941
* For files not named on the command line, only the basename is comparedDavid E. O'Brien2009-01-301-2/+5
| | | | | | | | | | | | to the exclude pattern. Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM. Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson) Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000] Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html Notes: svn path=/head/; revision=187907
* Remove the /usr/X11R6 paths. It has been long enough since the X stuffKen Smith2008-12-301-2/+0
| | | | | | | | | | moved to /usr/local. Checked with: des (last person to have fiddled with this) MFC after: 1 month Notes: svn path=/head/; revision=186602
* Added FreeBSD 6.4.Ruslan Ermilov2008-12-131-0/+1
| | | | Notes: svn path=/head/; revision=186041
* Added FreeBSD 7.1.Ruslan Ermilov2008-12-131-0/+1
| | | | Notes: svn path=/head/; revision=186040
* Push mips support into the tree.Warner Losh2008-12-113-1/+32
| | | | Notes: svn path=/head/; revision=185924
* Push mips support for ld into the tree.Warner Losh2008-12-115-0/+40
| | | | Notes: svn path=/head/; revision=185923
* Push mips support for as into the tree.Warner Losh2008-12-113-0/+27
| | | | Notes: svn path=/head/; revision=185922
* Add strndup(3) prototype to string.h.Konstantin Belousov2008-12-082-2/+2
| | | | | | | | | | | | | | This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan Notes: svn path=/head/; revision=185777
* Initial gdbserver support for ARM.Rafal Jaworowski2008-11-174-4/+226
| | | | | | | Obtained from: Juniper Networks, Semihalf Notes: svn path=/head/; revision=185023
* Document what the sed trick is for.David E. O'Brien2008-10-162-4/+5
| | | | | | | Remove an embedded <TAB>, and use same style for both files. Notes: svn path=/head/; revision=183957
* Enable UTF-8.Dag-Erling Smørgrav2008-10-081-0/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=183696
* Oops, initialize sections and sections_end to NULL.John Baldwin2008-10-021-1/+1
| | | | | | | | Submitted by: Navdeep Parhar MFC after: 1 week Notes: svn path=/head/; revision=183556
* Differentiate between interrupt frames, trap interrupt frames and timerKonstantin Belousov2008-09-271-3/+33
| | | | | | | | | | | | frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Noted and reviewed by: tegge Tested by: pho MFC after: 1 week Notes: svn path=/head/; revision=183414
* Use existing GDB routines for parsing the section table of klds inJohn Baldwin2008-09-251-36/+23
| | | | | | | | | the 'add-kld' command instead of doing it more by hand. MFC after: 1 week Notes: svn path=/head/; revision=183359
* add new build knobs and jigger some existing controls to improveSam Leffler2008-09-211-5/+6
| | | | | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month Notes: svn path=/head/; revision=183242
* Widen psaddr_t from uintptr_t to uint64_t. This results in anMarcel Moolenaar2008-09-141-6/+7
| | | | | | | | | | | | | | | | | | ABI change on ILP32 platforms and relating to events. However it's harmless on little-endian ILP32 platforms in the sense that it doesn't cause breakages. Old ILP32 thread libraries write a 32-bit th_p and new thread libraries write a 64-bit th_p. But due to the fact that we have an unused 32-bit data field right after th_p and that field is always initialized to zero, little-endian ILP32 machines effectively have a valid 64-bit th_p by accident. Likewise for new thread libraries and old libthread_db: little endian ILP32 is unaffected. At this time we don't support big-endian threaded applications in GDB, so the breakage for the ILP32 case goes unnoticed. Notes: svn path=/head/; revision=183023
* Add FreeBSD/MIPS support to GCC.David E. O'Brien2008-09-013-1/+14
| | | | Notes: svn path=/head/; revision=182627
* GDB isn't building on MIPS. Temporarily disable, to revisit soon.David E. O'Brien2008-09-011-1/+5
| | | | Notes: svn path=/head/; revision=182622
* Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. SharedDavid E. O'Brien2008-08-313-23/+20
| | | | | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little. Notes: svn path=/head/; revision=182579
* Enable EFI target.Rui Paulo2008-08-311-1/+3
| | | | | | | While there, make use of the DEFAULT_VECTOR variable. Notes: svn path=/head/; revision=182523
* Add an implementation of the RPCSEC_GSS authentication protocol for RPC. ThisDoug Rabson2008-08-061-0/+1
| | | | | | | | | | | is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred Notes: svn path=/head/; revision=181344
* Unbreak the arm build, by spelling LIBSRCS correctly.Olivier Houchard2008-08-021-1/+1
| | | | Notes: svn path=/head/; revision=181167