summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Let iconv build on -HEAD properly.ed2013-05-233-2/+5
| | | | | | - Add NO_WMISSING_VARIABLE_DECLARATIONS where we use Yacc/Lex. - Add variable declarations where possible. - Add missing static keyword.
* Work around build breakages with GCC 4.2.jkim2013-05-234-0/+7
| | | | Reported by: tinderbox
* Avoid signed overflow in error handling code.eadler2013-05-211-1/+3
| | | | Reviewed by: cperciva, bjk
* Connect flex 2.5.37 to the build and bump __FreeBSD_version.jkim2013-05-2131-15377/+9874
|
* Sync with upstream version (20130520) that includes same fixes made last week.sjg2013-05-201-2/+2
|
* Per the comment, we cannot rely on bsd.own.mksjg2013-05-171-7/+6
| | | | | | we could be on an old system that knows noting of MK_BMAKE or on an almost up to date one that is defaulting it to "no" neither of which will work.
* We really need to get the bsd.own.mk from this tree so thesjg2013-05-171-0/+8
| | | | | correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake.
* guard against MK_SHARED_TOOLCHAIN not being defined.delphij2013-05-161-1/+1
|
* Similar to r250719: guard against MK_BMAKE not being defined.delphij2013-05-161-1/+1
|
* Reverse the sense of the test wrt bmake, and guard againstsjg2013-05-161-1/+1
| | | | MK_BMAKE not being defined.
* Build bmake by default.sjg2013-05-161-0/+7
| | | | | | | If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks
* mdoc sweep.joel2013-05-121-1/+3
|
* Add some missing DPADD.antoine2013-05-111-1/+1
|
* REST IN PEACEdelphij2013-05-101-0/+1
| | | | | | | | | | Alexander Botero-Lowry Born June 2, 1986 in Austin, Texas Died August 24, 2012 in San Francisco, California Thank you for your contributions, you will be greatly missed.
* Add option to lockf to avoid creating a file if it does not exist.eadler2013-05-102-8/+28
| | | | | | | PR: bin/170775 Submitted by: Matthew Story <matthewstory@gmail.com> Reviewed by: scottl MFC after: 1 week
* Bump .Dd for recent content change.eadler2013-05-101-1/+1
| | | | Reported by: delphij
* Implement 'split -d' which allows a numeric suffix instead of aneadler2013-05-102-5/+29
| | | | | | | | | alphabetic one. PR: bin/116209 Submitted by: Marcin Gryszkalis <mg@fork.pl> (adapted from) Reviewed by: will MFC after: 1 week
* Style(9) changes fo xargs.ceadler2013-05-101-2/+4
|
* Improve compatibility with recent flex from flex.sourceforge.net.jkim2013-05-033-5/+5
|
* Reduce diff with upstream.jkim2013-05-0312-32/+45
|
* Similar to 233760 and 236717, export some more useful info about thejhb2013-05-032-0/+31
| | | | | | | | | | | | | | | kernel-based POSIX semaphore descriptors to userland via procstat(1) and fstat(1): - Change sem file descriptors to track the pathname they are associated with and add a ksem_info() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and ksem_info() to export the path, mode, and value of a semaphore via struct kinfo_file. - Add a struct semstat to the libprocstat(3) interface along with a procstat_get_sem_info() to export the mode and value of a semaphore. - Teach fstat about semaphores and to display their path, mode, and value. MFC after: 2 weeks
* Op 30 April 2013 trad koninging Beatrix af en werd kroonprins Willemedwin2013-05-031-4/+4
| | | | | | | | | Alexander de nieuwe koning. Koningsdag is op 27 April. On 30 April 2013 queen Beatrix resigned and crownprince Willem Alexander became the new king. King's day is on 27 April. MFC after: 1 week
* Document that the NFSv4 server statistics are operation counts andrmacklem2013-05-011-1/+5
| | | | | | | not RPC counts. This is a content change. MFC after: 2 weeks
* When the world is built WITHOUT_OPENSSH also don'teadler2013-04-281-1/+4
| | | | | | | | install ssh-copy-id. PR: misc/177590 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Reviewed by: imp
* Fix EXIT STATUS. biff reports its status when it was invoked.joel2013-04-281-3/+3
| | | | | | Submitted by: Ryan Kavanagh, Jason McIntyre <jmc@kerhand.co.uk> Obtained from: OpenBSD
* Constify where appropriate.eadler2013-04-231-2/+2
| | | | | | Reported by: emaste Approved by: cperciva (mentor) MFC After: 3 days
* Cleanups to touch.ceadler2013-04-231-20/+22
| | | | | | | | | | - use const where appropriate - use static where appropriate - use explicit checks checks for error conditions Reviewed by: sbruno Approved by: cperciva (mentor) Obtained by: DragonFlyBSD
* Wrong cast.trociny2013-04-201-2/+1
| | | | MFC after: 1 month
* Sync gcore(1) with the recent changes in kernel code aimed at addingtrociny2013-04-202-203/+374
| | | | | | | procstat notes to a process core file. Suggested by: jhb MFC after: 1 month
* Make use of newly added libprocstat(3) ability to extract procstattrociny2013-04-202-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | info from a process core file. So now one can run procstat(1) on a process core e.g. to get a list of files opened by a process when it crashed: root@lisa:/ # procstat -f /root/vi.core PID COMM FD T V FLAGS REF OFFSET PRO NAME 658 vi text v r r-------- - - - /usr/bin/vi 658 vi ctty v c rw------- - - - /dev/pts/0 658 vi cwd v d r-------- - - - /root 658 vi root v d r-------- - - - / 658 vi 0 v c rw------- 11 3208 - /dev/pts/0 658 vi 1 v c rw------- 11 3208 - /dev/pts/0 658 vi 2 v c rw------- 11 3208 - /dev/pts/0 658 vi 3 v r r----n-l- 1 0 - /tmp/vi.0AYKz3Lps7 658 vi 4 v r rw------- 1 0 - /var/tmp/vi.recover/vi.GaGYsz 658 vi 5 v r rw------- 1 0 - - PR: kern/173723 Suggested by: jhb MFC after: 1 month
* Use procstat_getkstack(3) for retrieving process kernel stackstrociny2013-04-203-55/+15
| | | | | | instead of direct sysctl calls. MFC after: 1 month
* Use libprocstat(3) to retrieve ELF auxiliary vector.trociny2013-04-203-96/+10
| | | | MFC after: 1 month
* Use libprocstat(3) to retrieve process command line arguments andtrociny2013-04-203-34/+22
| | | | | | environment variables. MFC after: 1 month
* Use libprocstat(3) when retrieving binary information for a process.trociny2013-04-203-29/+8
| | | | MFC after: 1 month
* Use procstat_getrlimit(3) for retrieving rlimit information instead oftrociny2013-04-203-18/+5
| | | | | | direct sysctl calls. MFC after: 1 month
* Use procstat_getumask(3) for retrieving umaks information instead oftrociny2013-04-201-13/+5
| | | | | | direct sysctl. MFC after: 1 month
* Use procstat_getgroups(3) for retrieving groups information instead oftrociny2013-04-203-30/+11
| | | | | | direct sysctl. MFC after: 1 month
* Use more generic procstat_getvmmap(3) for retrieving VM layout of a process.trociny2013-04-203-4/+4
| | | | MFC after: 1 month
* Use procstat_getprocs(3) for retrieving thread information instead oftrociny2013-04-204-66/+17
| | | | | | direct sysctl calls. MFC after: 1 month
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-197-2/+15
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* Replace hardcoded numbers. Also use interface-local scope name insteadae2013-04-161-9/+9
| | | | of node-local.
* Fix typo from previous commit.joel2013-04-141-1/+1
| | | | Submitted by: Ronald Klop <ronald-freebsd8@klop.yi.org>
* LSD first synthesised 16/11/38, not 7/4/43.joel2013-04-141-1/+1
| | | | | Submitted by: James J. Lippard Obtained from: OpenBSD
* Correct spelling is "Christiaan Huygens".joel2013-04-141-1/+1
| | | | | Submitted by: James J. Lippard Obtained from: OpenBSD
* Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-1233-541/+467
| | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
* - Do not bail out if stat(2) fails with ENOENT in the spool directory. Thisgahr2013-04-121-2/+26
| | | | | | | | | happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet
* - Switch order of setting real uid and gid. If we set uid first, then wegahr2013-04-121-1/+1
| | | | | | | | don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet
* Fix bugs in the elapsed time calculation in ctlstat_standard()ken2013-04-111-7/+3
| | | | | | | | | | | | | | | | | | pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde MFC after: 3 days
* Minor spelling and grammar fixes.joel2013-04-111-1/+1
|
* Remove contractions.joel2013-04-111-8/+8
|
OpenPOWER on IntegriCloud