Eugene Grosbein
95144583f7
adjkerntz(8): revert "detect extra jailed invokation to keep logs clean"
...
This reverts commit 048ce0876f
due to bugs. Reworked change will be committed later hopefully.
2022-06-23 21:46:08 +07:00
Eugene Grosbein
048ce0876f
adjkerntz(8): detect extra jailed invokation to keep logs clean
...
It may happen that "adjkerntz -a" called from jailed root crontab.
In that case it spams logs with a line:
sysctl(set: "machdep.wall_cmos_clock"): Operation not permitted
Be silent in that case.
MFC after: 1 month
2022-06-22 01:32:54 +07:00
Pedro F. Giffuni
1de7b4b805
various: general adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
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.
No functional change intended.
2017-11-27 15:37:16 +00:00
Bryan Drewery
ea825d0274
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
Glen Barber
406d87b1c3
Explicitly add more files to the 'runtime' package.
...
Sponsored by: The FreeBSD Foundation
2016-02-09 20:19:31 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
bd0891ceb3
use .Mt to mark up email addresses consistently (part1)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:40:43 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Andriy Gapon
a29cc9a34b
Revert r253748,253749
...
This WIP should not have been committed yet.
Pointyhat to: avg
2013-07-28 18:44:17 +00:00
Andriy Gapon
c722ec3a51
remove needless inclusion of machine/cpu.h in userland
...
MFC after: 21 days
2013-07-28 18:35:43 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Simon J. Gerraty
23090366f7
Sync from head
2012-11-04 02:52:03 +00:00
Ed Schouten
902d9eafbf
Rework all non-contributed files that use `struct timezone'.
...
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.
2012-09-01 14:45:15 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Eitan Adler
84bb842bb4
Fix a variety of grammar and style nits
...
PR: docs/165841
Submitted by: Robert Simmons <rsimmons0@gmail.com>
Approved by: brd
MFC after: 1 week
2012-03-09 01:32:05 +00:00
Ed Schouten
f6d189a9e4
Raise WARNS for various tools where possible.
...
Submitted by: Marius Nünnerich <marius@nuenneri.ch>
2010-01-17 21:56:27 +00:00
Ruslan Ermilov
106d839190
Switch the default WARNS level for sbin/ to 6.
...
Submitted by: Ulrich Spörlein
2009-10-19 16:00:24 +00:00
Ruslan Ermilov
cc17b04460
If not compiled for debugging, redirect standard input/output/error
...
to /dev/null before becoming a daemon.
2006-10-23 10:48:19 +00:00
Pawel Jakub Dawidek
564084e489
Correct various mistakes in the last commit.
2006-05-13 11:58:58 +00:00
Poul-Henning Kamp
bec1fa8607
Use sysctlbyname
2006-05-11 17:25:36 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6087df9e8b
Sort sections.
2005-01-18 10:09:38 +00:00
Guy Helmer
d5ac36eda7
Invoke tzset(3) within the main loop to catch changes to /etc/localtime
...
when running as a daemon in the hope that it will fix situations
where the CMOS clock was apparently set using the stale TZ offset.
2004-04-27 14:43:03 +00:00
David E. O'Brien
c69284ca08
Use __FBSDID() to quiet GCC 3.3 warnings.
2003-05-03 18:41:59 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
Tom Rhodes
3468b317cb
more file system > filesystem
2002-05-16 04:10:46 +00:00
Warner Losh
bbbc97356c
o Use real prototypes
...
o Remove __P.
o main(int, char *[])
2002-03-18 04:55:09 +00:00
David E. O'Brien
2d68bf45bf
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
Dima Dorfman
086ad217b2
Fix a prototype and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 05:41:57 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Ruslan Ermilov
4ccd754686
- VFS_SET(msdos) -> VFS_SET(msdosfs)
...
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
2001-06-01 10:57:26 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Ruslan Ermilov
c2d03ea879
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Sheldon Hearn
ef8f7ac935
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Philippe Charnier
f9184dd719
Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.
1998-06-04 06:35:12 +00:00
Andrey A. Chernov
84436e33cb
Implement Helbig idea of offset calculation reducing mktime() calls
...
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
Andrey A. Chernov
20344e1582
Add workaround suggestion for 'nonexistent time' diagnostic
1998-03-30 09:29:47 +00:00
Philippe Charnier
68085a0ef1
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-19 07:46:04 +00:00
Andrey A. Chernov
57394688f8
Minimize clock drift between getting and setting time
...
Submitted by: bde
1998-02-25 09:40:21 +00:00
Philippe Charnier
4cabb4cdcc
Add Id, add usage function.
1997-06-10 11:01:13 +00:00