Home | History | Annotate | only in /src/usr.bin/getent
History log of /src/usr.bin/getent
RevisionDateAuthorComments
 1.5 11-Oct-2011  christos make getcap a link to getent, since many of the databases we use are of the
"cap" format.
 1.4 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.3 28-May-2007  tls branches: 1.3.20;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.2 29-Nov-2004  lukem WARNS=3
 1.1 23-Nov-2004  lukem getent(1) - get entries from administrative database.
 1.3.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.25 23-Oct-2017  wiz Remove superfluous Tn.
 1.24 22-Oct-2017  abhinav Add getcap to the NAME section as well
 1.23 11-Oct-2011  wiz More standard Dt/Nm.
 1.22 11-Oct-2011  christos make getcap a link to getent, since many of the databases we use are of the
"cap" format.
 1.21 04-Feb-2010  wiz Sort SEE ALSO. New sentence, new line. Whitespace fix.
 1.20 03-Feb-2010  roy getent cannot report on termcap as we now use terminfo.
 1.19 15-Mar-2009  joerg Fix number of columns.
 1.18 11-Mar-2009  joerg Fix markup
 1.17 14-May-2008  tron branches: 1.17.6;
Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
 1.16 30-Apr-2008  martin branches: 1.16.2;
Convert TNF licenses to new 2 clause variant
 1.15 04-Feb-2008  christos branches: 1.15.4;
add gettytab
 1.14 01-Feb-2008  christos handle cap style databases.
 1.13 11-Sep-2005  wiz branches: 1.13.6; 1.13.8; 1.13.12;
It is "home_dir:shell", not "home_dir_shell". From YOMURA Masanori in private mail.
 1.12 24-Aug-2005  ginsbach Add description of service keys as these maybe in one of several forms.
 1.11 24-Aug-2005  ginsbach Implement "ethers".
 1.10 21-Jan-2005  wiz branches: 1.10.2;
Bump date for "rpc" support.
 1.9 21-Jan-2005  ginsbach Implement "rpc"
 1.8 03-Dec-2004  lukem add some HISTORY about the inspiration for this command
 1.7 29-Nov-2004  lukem Implement "services"
 1.6 26-Nov-2004  wiz No dot at end of SEE ALSO.
 1.5 26-Nov-2004  lukem implement "protocols"
 1.4 26-Nov-2004  lukem implement "networks"
 1.3 24-Nov-2004  ginsbach Fix what appears to be a typo in the description.
 1.2 23-Nov-2004  wiz "..." does not need to be quoted.
 1.1 23-Nov-2004  lukem getent(1) - get entries from administrative database.
 1.10.2.1 28-Aug-2005  tron Pull up following revision(s) (requested by ginsbach in ticket #706):
usr.bin/getent/getent.c: revision 1.7
usr.bin/getent/getent.1: revision 1.11
Implement "ethers".
 1.13.12.1 23-Mar-2008  matt sync with HEAD
 1.13.8.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.13.6.1 17-May-2008  bouyer Pull up following revision(s) (requested by tron in ticket #1147):
usr.bin/getent/getent.c: revision 1.14 via patch
usr.bin/getent/getent.1: revision 1.17 via patch
Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
 1.15.4.1 18-May-2008  yamt sync with head.
 1.16.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.17.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.21 21-Nov-2024  kre White space. NFC.
 1.20 21-Nov-2024  kre PR bin/58836 make sure all 3 colons are printed for group database

I took a look, and didn't see any other cases where there was a similar issue.
 1.19 15-Mar-2012  joerg branches: 1.19.34; 1.19.42; 1.19.44;
Add __printflike attribution to use vprintf and friends with an argument
as format string.
 1.18 11-Oct-2011  christos branches: 1.18.2;
fix usage formatting.
 1.17 03-Feb-2010  roy getent cannot report on termcap as we now use terminfo.
 1.16 12-Apr-2009  lukem fix sign-compare issue
 1.15 24-Feb-2009  yamt princap -> printcap
(christos said it was just a typo.)

XXX do we want compat for scripts?
 1.14 14-May-2008  tron branches: 1.14.6;
Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
 1.13 28-Apr-2008  martin branches: 1.13.2;
Remove clause 3 and 4 from TNF licenses
 1.12 04-Feb-2008  christos branches: 1.12.4;
add gettytab
 1.11 02-Feb-2008  christos Add more undocumented capabilities to the *cap printing.
 1.10 01-Feb-2008  christos handle cap style databases.
 1.9 27-Aug-2006  simonb branches: 1.9.2; 1.9.4; 1.9.8;
Remove some unnecessary casts.
 1.8 04-May-2006  lukem getservbyport(3) wants the port in network order.
Noted by Hajimu UMEMOTO <ume@freebsd.org>
via Maxim Konovalov <maxim@macomnet.ru>.
 1.7 24-Aug-2005  ginsbach Implement "ethers".
 1.6 21-Jan-2005  ginsbach branches: 1.6.2;
Implement "rpc"
 1.5 29-Nov-2004  lukem Improve printing of various items to be more human-readable.
Display all the supported databases in the usage.
 1.4 29-Nov-2004  lukem Implement "services"
 1.3 26-Nov-2004  lukem implement "protocols"
 1.2 26-Nov-2004  lukem implement "networks"
 1.1 23-Nov-2004  lukem getent(1) - get entries from administrative database.
 1.6.2.1 28-Aug-2005  tron Pull up following revision(s) (requested by ginsbach in ticket #706):
usr.bin/getent/getent.c: revision 1.7
usr.bin/getent/getent.1: revision 1.11
Implement "ethers".
 1.9.8.1 23-Mar-2008  matt sync with HEAD
 1.9.4.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.9.2.1 17-May-2008  bouyer Pull up following revision(s) (requested by tron in ticket #1147):
usr.bin/getent/getent.c: revision 1.14 via patch
usr.bin/getent/getent.1: revision 1.17 via patch
Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
 1.12.4.1 18-May-2008  yamt sync with head.
 1.13.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.14.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.18.2.1 17-Apr-2012  yamt sync with head
 1.19.44.1 02-Aug-2025  perseant Sync with HEAD
 1.19.42.1 25-Nov-2024  martin Pull up following revision(s) (requested by kre in ticket #1015):

usr.bin/getent/getent.c: revision 1.20
usr.bin/getent/getent.c: revision 1.21

PR bin/58836 make sure all 3 colons are printed for group database
I took a look, and didn't see any other cases where there was a similar issue.

White space. NFC.
 1.19.34.1 25-Nov-2024  martin Pull up following revision(s) (requested by kre in ticket #1929):

usr.bin/getent/getent.c: revision 1.20
usr.bin/getent/getent.c: revision 1.21

PR bin/58836 make sure all 3 colons are printed for group database
I took a look, and didn't see any other cases where there was a similar issue.

White space. NFC.

RSS XML Feed