| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41957
(cherry picked from commit eba230afba4932f02a1ca44efc797cf7499a5cb0)
|
|
|
|
|
|
|
|
|
|
| |
In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735
(cherry picked from commit cccdaf507eee8fb34494b4624eb85bb951e323c8)
|
|
|
|
|
|
|
|
|
|
|
| |
The monotonic clock is more appropriate than the realtime clock for
measuring durations.
Reviewed by: ken, jilles
Differential Revision: https://reviews.freebsd.org/D14032
Notes:
svn path=/head/; revision=333251
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a prerequisite to adding support for the monotonic clock
Reviewed by: ken, imp
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D14030
Notes:
svn path=/head/; revision=328343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
the work to the main thread... This fixes a possible crash if SIGINFO
is delivered at the wrong time...
This still leaves getrusage broken for some reason, but I believe that
is a kernel issue and cannot be fixed here...
Notes:
svn path=/head/; revision=283073
|
|
|
|
| |
Notes:
svn path=/head/; revision=244034
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
Notes:
svn path=/head/; revision=239991
|
|
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
|
|
|
|
|
|
| |
needed.
Notes:
svn path=/head/; revision=200462
|
|
|
|
|
|
|
| |
Tested with: make universe
Notes:
svn path=/head/; revision=200420
|
|
|
|
|
|
|
|
| |
Avoid shadowing a global variable with a function argument.
Set WARNS to 6.
Notes:
svn path=/head/; revision=169346
|
|
|
|
|
|
|
| |
I find it quite handy to just hit ^T and see the time.
Notes:
svn path=/head/; revision=158560
|
|
|
|
|
|
|
|
|
| |
PR: bin/89666
Submitted by: Arne H Juul
MFC after: 1 month
Notes:
svn path=/head/; revision=157796
|
|
|
|
| |
Notes:
svn path=/head/; revision=146466
|
|
|
|
|
|
|
| |
Reviewed by: yar
Notes:
svn path=/head/; revision=121153
|
|
|
|
|
|
|
|
|
|
|
| |
- PID should be pid_t, not int;
- sort #include's and local variables;
- don't overuse initializers;
- use warn(3) instead of perror(3) consistently;
- amplify the comment on signals.
Notes:
svn path=/head/; revision=120747
|
|
|
|
|
|
|
|
| |
if the child process has exited on a signal
whose default action is to dump core.
Notes:
svn path=/head/; revision=120744
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
Notes:
svn path=/head/; revision=102944
|
|
|
|
|
|
|
|
| |
that is to be invoked on the command line. Use "utility" instead of "command"
in manual page and usage message for consistency with POSIX.
Notes:
svn path=/head/; revision=98476
|
|
|
|
|
|
|
| |
may change errno.
Notes:
svn path=/head/; revision=97268
|
|
|
|
| |
Notes:
svn path=/head/; revision=92922
|
|
|
|
| |
Notes:
svn path=/head/; revision=87300
|
|
|
|
| |
Notes:
svn path=/head/; revision=72338
|
|
|
|
|
|
|
| |
Submitted by: Tony Finch <dot@dotat.at>
Notes:
svn path=/head/; revision=68029
|
|
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=67813
|
|
|
|
|
|
|
| |
getopt returns -1 not EOF.
Notes:
svn path=/head/; revision=65428
|
|
|
|
| |
Notes:
svn path=/head/; revision=50477
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the manpage as well.
I've rewritten the patch as it was for 2.2.7. It can probably be put
into 3.1-STABLE as well.
PR: bin/10515
Submitted by: Jens Schweikhardt <schweikh@noc.dfn.de>
Notes:
svn path=/head/; revision=44640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
Notes:
svn path=/head/; revision=40301
|
|
|
|
| |
Notes:
svn path=/head/; revision=38520
|
|
|
|
| |
Notes:
svn path=/head/; revision=37913
|
|
|
|
|
|
|
| |
Pointed out by: Bruce Evans
Notes:
svn path=/head/; revision=37891
|
|
|
|
| |
Notes:
svn path=/head/; revision=37888
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout. Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.
PR: 7368
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
Notes:
svn path=/head/; revision=37855
|
|
|
|
| |
Notes:
svn path=/head/; revision=28203
|
|
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24360
|
|
|
|
|
|
|
| |
Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
Notes:
svn path=/head/; revision=18889
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100. The correct value is the frequency
of the statistics clock, currently 128. The program now uses sysctl
to get the stathz value from the kernel.
Discussed with: bde@freebsd.org (Bruce Evans)
Notes:
svn path=/head/; revision=17351
|
|
|
|
| |
Notes:
svn path=/head/; revision=11873
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|