| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| |
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
|
| |
Right now pkill/pgrep cut off at _POSIX2_LINE_MAX (2048), but argument
strings can be much larger (ARG_MAX is 256K/512K). Stop arbitrarily
cutting the search off at 2K, rather than documenting the limit.
Reviewed by: allanjude (earlier version), des
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D38663
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326276
|
| |
|
|
|
|
|
|
|
|
|
| |
mode.
Reported by: pho
MFC after: 1 week
X-MFC-with: r322210
Notes:
svn path=/head/; revision=322831
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
output to not include a trailing new line, which is a potential POLA violation
for existing consumers. Change pgrep to always emit a trailing new line on
completion of its output, regardless of the delimeter in use (which technically
is also a potential POLA violation for existing consumers that rely on the
pre-r322210 buggy behaviour, but a line has to be drawn somewhere).
PR: 221534
Submitted by: kdrakehp zoho com
Reported by: kdrakehp zoho com
MFC after: 1 week
X-MFC-with: r322210
Notes:
svn path=/head/; revision=322613
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
e.g. "pgrep -d, getty" outputs "1399,1386,1309,1308,1307,1306,1305,1302,"
Ensure the list is correctly delimited by suppressing the emission of the
delimiter after the final PID.
Reviewed by: imp, kib
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D8537
Notes:
svn path=/head/; revision=322210
|
| |
|
|
|
|
|
|
|
|
|
| |
I left as is an apparent bug in ntoskrnl_var.h:AT_PASSIVE_LEVEL()
definition.
Suggested by: jhb
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=295435
|
| |
|
|
|
|
|
|
|
| |
PR: 201588
Submitted by: Daniel Shahaf <danielsh at apache.org>
MFC after: 3 days
Notes:
svn path=/head/; revision=287012
|
| |
|
|
|
|
|
|
|
|
| |
Ask for a specific process instead of pulling down all processes when
-F <pidfile> is specified. This is much much faster.
Obtained from: DragonflyBSD
Notes:
svn path=/head/; revision=257911
|
| |
|
|
|
|
|
|
|
|
| |
CID: 1006559
Approved by: re (kib)
MFC after: 2 weeks
Sponsored by: FreeBSD Foundation
Notes:
svn path=/head/; revision=256050
|
| |
|
|
|
|
|
| |
MFC after: 1 month
Notes:
svn path=/head/; revision=254134
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the constants from <signal.h> with 'SIG' removed, which POSIX
requires kill and trap to accept and 'kill -l' to write.
'kill -l', 'trap', 'trap -l' output is now upper case.
In Turkish locales, signal names with an upper case 'I' are now accepted,
while signal names with a lower case 'i' are no longer accepted, and the
output of 'killall -l' now contains proper capital 'I' without dot instead
of a dotted capital 'I'.
Notes:
svn path=/head/; revision=218285
|
| |
|
|
|
|
|
|
|
| |
PR: 143558
Submitted by: eitanadlerlist at gmail dot com
MFC after: 3 weeks
Notes:
svn path=/head/; revision=209363
|
| |
|
|
|
|
|
|
|
|
| |
their software.
Approved by: pjd
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204553
|
| |
|
|
|
|
|
| |
- Add regression test to test -q option.
Notes:
svn path=/head/; revision=203802
|
| |
|
|
|
|
|
|
|
|
|
| |
allows the -M option to be used without specifying -N.
PR: bin/138146
Approved by: rrs (mentor)
MFC after: 3 days
Notes:
svn path=/head/; revision=203688
|
| |
|
|
|
|
|
|
|
| |
functionality. Per the regression tests (pgrep-t.t & pkill-t.t), "-t"
should accept "v1", which means a plain number should be accepted for
UNIX98-style PTY's.
Notes:
svn path=/head/; revision=201487
|
| |
|
|
|
|
|
|
| |
"-t" should accept "v1", which means a plain number should be accepted for
UNIX98-style PTY's.
Notes:
svn path=/head/; revision=201484
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month
Notes:
svn path=/head/; revision=201145
|
| |
|
|
|
|
|
|
|
|
|
|
| |
always surprising when you kill a 'sh -c ...' ancestor or when you kill
yourself when using -f.
Add a -a switch for backwards compatibility.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=192242
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In my previous commit I disabled pkill(1)'s automatic prepending of the
"tty" string when `pkill -t' was being used. Re-enable it and stat()
both possible device names when called.
Requested by: jhb, rwatson (MFC)
MFC after: 1 month
Notes:
svn path=/head/; revision=183502
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Because we now enforce UNIX98-style PTY's, we now use a lot of TTY's
that don't have the traditional /dev/ttyXX naming scheme. pkill(1)'s -t
flag automatically prepended the word "tty" to each TTY that was passed
on the command line. This meant that `pkill -t pts/0' was actually
converted to /dev/ttypts/0. Disable this broken behaviour for now.
Reported by: erwin
Notes:
svn path=/head/; revision=183438
|
|
|
for the convenience of rc.d. Now it has happily lived there for quite
a while. So move the pkill(1) source files from usr.bin to bin, too.
Approved by: gad
Notes:
svn path=/head/; revision=182543
|