History log of /freebsd-current/include/paths.h
Revision Date Author Comments
# 14b475c4 07-May-2024 Poul-Henning Kamp <phk@FreeBSD.org>

Remove gbde support from swapon(8)


# 5a1d1441 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

include: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 42b38843 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .h pattern

Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/


# d3748fc0 09-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

include: Migrate from COMPAT_32BIT to generic COMPAT_libcompat

See commit 8fad2cda93c7 ("bsd.compat.mk: Provide new CPP and sub-make
variables") for the context behind this change.

Reviewed by: emaste, brooks, jhb
Differential Revision: https://reviews.freebsd.org/D40924


# 34b38e12 23-Oct-2020 Stefan Eßer <se@FreeBSD.org>

Add search of LOCALBASE/share/calendar for calendars supplied by a port.

Calendar files in LOCALBASE override similarily named ones in the base
system. This could easily be changed if the base system calendars should
have precedence, but it could lead to a violation of POLA since then the
port's files were ignored unless those in base have been deleted.

There was no definition of _PATH_LOCALBASE in paths.h, but verbatim uses
of /usr/local existed for _PATH_DEFPATH. Use _PATH_LOCALBASE here to ease
a consistent modification of this prefix.

Reviewed by: imp, pfg
Differential Revision: https://reviews.freebsd.org/D26882


# 2321c474 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

include: further adoption of SPDX licensing ID tags.

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.


# 7502cc40 27-Dec-2016 Andriy Gapon <avg@FreeBSD.org>

libkvm: support access to vmm guest memory, allow writes to fwmem and vmm

This change consists of two parts:
- allow libkvm to recognize /dev/vmm/* character devices as devices that
provide access to the physical memory of a system (similarly to /dev/fwmem*)
- allow libkvm to recognize that /dev/vmm/* and /dev/fwmem* devices provide
access to the physical memory of live remote systems and, thus, the memory
is writable

As a result, it should be possible to run commands like
$ kgdb -w /path/to/kernel /dev/fwmem0.0
$ kgdb /path/to/kernel /dev/vmm/guest

Reviewed by: kib, jhb
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D8679


# 1ed9c427 22-Mar-2016 Warner Losh <imp@FreeBSD.org>

Implement suggestion by jhb@ to have _PATH_FIRMWARE instead of hard
coding it to be "/usr/share/firmware".


# 43d53dba 05-Jan-2016 Jilles Tjoelker <jilles@FreeBSD.org>

Add sbin and /usr/local directories to _PATH_DEFPATH.

Set _PATH_DEFPATH to
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the
path in the default class in the default /etc/login.conf,
excluding ~/bin which would not be expanded properly in a string
constant.

For normal logins, _PATH_DEFPATH is overridden by /etc/login.conf,
~/.login_conf or shell startup files. _PATH_DEFPATH is still used as a
default by execlp(), execvp(), posix_spawnp() and sh if PATH is not set, and
by cron. Especially the latter is a common trap (most recently in PR
204813).

PR: 204813
Reviewed by: secteam (delphij), alfred


# 22e3858c 17-Sep-2013 Sean Bruno <sbruno@FreeBSD.org>

Assume that the -f argument is /dev/gpioc0 if it is not passed.

hrs@ provided this verison of the patch and showed me where all the needed
changes were to be made outside of gpioctl.c

Approved by: re (hrs)
MFC after: 2 weeks


# 268a55bc 27-Jun-2013 Hiroki Sato <hrs@FreeBSD.org>

- Add vnode-backed swap space specification support. This is enabled when
device names "md" or "md[0-9]*" and a "file" option are specified in
/etc/fstab like this:

md none swap sw,file=/swap.bin 0 0

- Add GBDE/GELI encrypted swap space specification support, which
rc.d/encswap supported. The /etc/fstab lines are like the following:

/dev/ada1p1.bde none swap sw 0 0
/dev/ada1p2.eli none swap sw 0 0

.eli devices accepts aalgo, ealgo, keylen, and sectorsize as options.

swapctl(8) can understand an encrypted device in the command line
like this:

# swapctl -a /dev/ada2p1.bde

- "-L" flag is added to support "late" option to defer swapon until
rc.d/mountlate runs.

- rc.d script change:

rc.d/encswap -> removed
rc.d/addswap -> just display a warning message if $swapfile is defined
rc.d/swap1 -> renamed to rc.d/swap
rc.d/swaplate -> newly added to support "late" option

These changes alleviate a race condition between device creation/removal
and swapon/swapoff.

MFC after: 1 week
Reviewed by: wblock (manual page)


# bdd39eb8 18-Nov-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add change missed in 243245.


# 7c5a9216 12-Jun-2012 Dag-Erling Smørgrav <des@FreeBSD.org>

Finally nuke auth.conf, nine years after it was deprecated. The only
thing it was still used for was to set the "global default" password
hash. Since the stock auth.conf contained nothing but comments, the
global default was actually the first algorithm in crypt(3)'s list,
which happens to be DES; I take the fact that nobody noticed as proof
that it was not used outside of crypt(3).

The only other use in our tree was in the Kerberos support code in
in tinyware's passwd(1). I removed that code in an earlier commit;
it would not have compiled anyway, as it only supported Kerberos IV.

The auth_getval() function is now a stub that always returns NULL,
which has the same effect as a functional auth_getval() with an
empty auth.conf.

MFC after: 3 weeks


# ad30f8e7 24-Feb-2011 Gabor Kovesdan <gabor@FreeBSD.org>

Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
which can compare conversion tables to reference data generated by
GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
and cleaned up, now it is easy to read and it is also easier to add
support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
GNU version, i.e. sources should build with base iconv.h and
GNU libiconv. It also includes a macro magic to deal with the
char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
encoding in use
- Various cleanups and style(9) fixes.

Approved by: delphij (mentor)
Obtained from: The NetBSD Project
Sponsored by: Google Summer of Code 2009


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# f2556687 16-Feb-2010 Warner Losh <imp@FreeBSD.org>

Remove the Berkeley clause 3's.
Add a few $FreeBSD$


# 8ca5ff35 30-Dec-2009 Jilles Tjoelker <jilles@FreeBSD.org>

Remove the current directory from _PATH_STDPATH.


# 2fb69002 31-Jan-2009 David E. O'Brien <obrien@FreeBSD.org>

Also un-split _PATH_STDPATH for grepability.
While I'm here, fix other style bugs reported to me.


# 927c7d40 26-Jan-2009 David E. O'Brien <obrien@FreeBSD.org>

No need to wrap _PATH_SYSPATH. It makes it harder to grep(1) for its
value. (also unwrapping better matches existing style)


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 41b23fe0 10-Jun-2007 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Add _PATH_FWMEM for libkvm.


# 6e3aaeb2 04-Jan-2004 Ian Dowse <iedowse@FreeBSD.org>

Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assuming
that mksnap_ffs(8) can be found using the current $PATH.

Reviewed by: mckusick


# 884c25d1 29-Jun-2003 Gordon Tetlow <gordon@FreeBSD.org>

Add /rescue bits. This basically encompasses all of bin and sbin along
with a couple of bits from usr.bin in a crunchgen'd binary.

Submitted by: Tim Kientzle <kientzle@acm.org>


# 1386defa 29-Jun-2003 Gordon Tetlow <gordon@FreeBSD.org>

Move path definitions to include/paths.h. This makes it easier to override
these definitions in the /rescue case.

Submitted by: Tim Kientzle <kientzle@acm.org>


# a3ba4c65 29-Jun-2003 Gordon Tetlow <gordon@FreeBSD.org>

Convert fsck and mount to using execvP to find fsck_foo and mount_foo.
This simplifies the code path and makes the default path easy to override
in the /rescue case.

Submitted by: Tim Kientzle <kientzle@acm.org>


# 73e18024 25-Jun-2003 Alexey Zelkin <phantom@FreeBSD.org>

Move _PATH_LOCALE to place where it really belongs to (rune.h -> paths.h)

Reviewed by: ache


# 07fa064b 20-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Remove _PATH_DEVDB


# 8d5c19ff 05-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Centralize _PATH_* definitions.

Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)


# 29ade362 07-Apr-2003 Matthew N. Dodd <mdodd@FreeBSD.org>

Dynamic object dependency mapping: libmap.

This is an optional feature, disabled by default.

This will be useful to people testing the various POSIX threading
libraries under -CURRENT but can easily serve other needs.


# 6f8d27fc 14-Jul-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Correct _PATH_RCP to be /bin/rcp, not /usr/bin/rcp.


# 5fab96cf 17-May-2002 Juli Mallett <jmallett@FreeBSD.org>

Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h.


# 75f3111c 07-May-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Add some more commonly-used directories and files.

Sponsored by: DARPA, NAI Labs


# bb28f3c2 23-Mar-2002 Warner Losh <imp@FreeBSD.org>

Breath deep and take __P out of the system include files.

# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.


# 433a2022 30-Nov-2001 Robert Watson <rwatson@FreeBSD.org>

o Improve consistency of style by fixing tabs around _PATH_AUTHCONF.


# 0caeee4e 30-Nov-2001 Robert Watson <rwatson@FreeBSD.org>

o Introduce _PATH_CAPABILITY and _PATH_CAPABILITY_DB to the system
path set. These files will hold per-user capability information.

Obtained from: TrustedBSD Project
Submitted by: tmm


# 8454c72c 08-Mar-2001 David E. O'Brien <obrien@FreeBSD.org>

Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,
and remove leading `r'(aw) from it.


# 1a37aa56 09-Dec-2000 David E. O'Brien <obrien@FreeBSD.org>

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


# 16ceea1b 11-Jan-1999 Satoshi Asami <asami@FreeBSD.org>

Move nologin from /etc to /var/run. This means one less file that has
to be written to /etc.

The only essential change is in paths.h, so any third-party software
written correctly will pick it up in the next rebuild.

Reviewed by: the committers list (actually an old version)


# eecd4637 09-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Move auth.conf path in here. Doesn't affect published interface.


# b8643b5a 23-Sep-1995 Andrey A. Chernov <ache@FreeBSD.org>

Due conflict to some obsoleted applications (dump/restore) rename
_PATH_LOCK to _PATH_UUCPLOCK
Pointed-by: bde


# fa78e67a 20-Sep-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add _PATH_LOCK: /var/spool/lock/
Suggested-by: bde


# c70242ae 31-Jan-1995 Bill Paul <wpaul@FreeBSD.org>

Need _PATH_YP for ypserver stuff.


# 66a9a515 29-Sep-1994 Paul Traina <pst@FreeBSD.org>

Define _PATH_FTPUSERS


# 4be4929c 23-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of _PATH_UNIX completely; use getbootfile(3) instead.

DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.


# fb502a37 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Update the Makefile to work correctly when copying and/or symlinking
/usr/include.

Make comment about mp.h missing and remove it from the list of files.
Fix installation of ufs include files as this is now a tree ufs/{ffs,lfs,
mfs,ufs}.

Make setting of SHARED optional by makeing it SHARED?=.

Comment out installation of X11 includes since it does not work
for XFree86 until we get XFree86 to install as /usr/X11.

Update _PATH_UNIX to be /kernel. Remove /usr/{contrib,old}/bin from
_PATH_STDPATH.


# 59deaec5 24-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Include Sources