| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Similar commit in main:
(cherry picked from commit 1d386b48a555)
|
| | |
|
| |
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Trivially capsicumize some simple programs that just interact with
stdio. This list of programs uses 'pledge("stdio")' in OpenBSD.
No objection from: allanjude, emaste, oshogbo
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8307
Notes:
svn path=/head/; revision=308432
|
| |
|
|
|
|
|
| |
Suggested by: eadler
Notes:
svn path=/head/; revision=251433
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Work around kernel bugs that cause a spurious [EINTR] return if a
debugger (such as truss(1)) is attached.
* Write an error message if an error other than [EINTR] occurs.
PR: bin/178664
Notes:
svn path=/head/; revision=251078
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
refusing to use stdio.
Reduce nesting level in the sleep loop by returning earlier for negative
timeouts.
Limit the maximum timeout to INT_MAX seconds.
Submitted by: bde
MFC after: 3 weeks
Notes:
svn path=/head/; revision=210749
|
| |
|
|
|
|
|
|
| |
Reported by: ache
MFC after: 3 weeks
Notes:
svn path=/head/; revision=210696
|
| |
|
|
|
|
|
|
|
|
| |
Be stricter in the checking of interval specification.
PR: bin/139345
MFC after: 3 weeks
Notes:
svn path=/head/; revision=210679
|
| |
|
|
|
|
|
| |
Submitted by: Liam J. Foy
Notes:
svn path=/head/; revision=148816
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139969
|
| |
|
|
|
|
|
| |
OK'ed by: imp, core
Notes:
svn path=/head/; revision=127958
|
| |
|
|
|
|
|
|
| |
Use return(0) for main() instead of exit(0). Makes it a
wee bit smaller.
Notes:
svn path=/head/; revision=114575
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114433
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is reduced by 40k, dynamic by a few bytes.
Functional changes:
* "sleep -- arg" now returns usage() instead of ignoring the --
* "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
Notes:
svn path=/head/; revision=106883
|
| |
|
|
|
|
|
|
| |
in sleep including duping strtol(3). Code changes also increased
dynamic size of sleep(1).
Notes:
svn path=/head/; revision=106882
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]*
Remove a few unnecessary casts.
%ls -l /bin/sleep
-r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep
%ls -l /usr/obj/usr/src/bin/sleep/sleep
-rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
Notes:
svn path=/head/; revision=106874
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99110
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o Change
int
foo() {
...
to
int
foo(void)
{
...
Notes:
svn path=/head/; revision=90111
|
| |
|
|
|
|
|
| |
MFC After: 1 week
Notes:
svn path=/head/; revision=76881
|
| |
|
|
|
|
|
|
|
|
| |
This is a conservative change. It does the same thing in weird
cases like the old one. For example, 'sleep abcd' still sleeps
for zero seconds. `sleep 10.a' and `sleep 10.05aa' do the best
and not abort (ie: 10.a == 10 seconds, 10.05a == 10.05 seconds).
Notes:
svn path=/head/; revision=51835
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50471
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36152
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24348
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22988
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
| |
Notes:
svn path=/head/; revision=20423
|
| |
|
|
| |
Notes:
svn path=/head/; revision=3044
|
|
|
Notes:
svn path=/head/; revision=1556
|