summaryrefslogtreecommitdiffstats
path: root/getent.c
Commit message (Collapse)AuthorAgeFilesLines
* Get it compilingCameron Katri2021-02-141-1/+4
|
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | 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.
* Document getent(1)'s ability to enumerate netgroup members.Mark Johnston2016-06-041-1/+1
| | | | MFC after: 3 days
* Add support for netgroup, based on patch in the PR but made consistentGuy Helmer2013-05-231-0/+43
| | | | | | with existing style. PR: bin/132692
* Teach getent(1) to look up a hostname and find IPv6 addresses.Kevin Lo2012-09-261-12/+22
| | | | | PR: bin/161548 Submitted by: matthew
* Print INIT_PROCESS and LOGIN_PROCESS entries as well.Ed Schouten2011-10-271-0/+662
| | | | | | | | Even though our implementation of utmpx never emits these types of records, they are part of POSIX. Do print them when they show up in the database files. While there, also print the type number of unsupported records.
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-649/+0
| | | | | | | 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.
* The NetBSD Foundation has granted permission to remove clause 3 and 4Warner Losh2010-02-161-7/+0
| | | | | | from their software. Obtained from: NetBSD
* Also print UNIX timestamps in getent utmpx output.Ed Schouten2010-01-201-2/+5
|
* Also let getent(1) print values of ut_pid.Ed Schouten2010-01-181-3/+3
|
* Allow getent(1) to display utmpx entries as well.Ed Schouten2010-01-131-0/+653
| | | | | | | Because getutxent also matches the typical get*ent format of library routines, I thought it would be a good idea to teach it how to read utmpx databases. getent(1) just gives a raw dump, which is very useful when debugging problems related to parsing/logging.
* - Import the HEAD csup code which is the basis for the cvsmode work.Ulf Lilleengen2008-10-191-564/+0
|
* cleanup code: remove superfluous comma at end of enumerationRalf S. Engelschall2007-02-041-2/+2
| | | | | declaration, remove useless "break" after exit(3) call, and add a missing va_end(3) call.
* The port number must be network byte order.Hajimu UMEMOTO2006-05-041-4/+3
|
* o By popular demand import getent(1) utility: a program retrievesMaxim Konovalov2006-05-041-0/+565
and displays entries from the administrative database specified by database, using the lookup order specified in nsswitch.conf(5). PR: bin/79903, bin/88460, bin/96536 Submitted by: Julien Gabel, Dan Nelson, Daniel J. O'Connor Obtained from: NetBSD Discussed with: ume, soc-bushman MFC after: 1 month