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
Baptiste Daroussin
d0ab9cbec0
Remove __unused attributed on arguments that are actually used
...
MFC after: 3 days
2017-11-11 15:18:25 +00:00
Enji Cooper
c281fdb153
Fix typos in error messages dealing with unknown groups/users
...
MFC after: 1 month
X-MFC with: r291447, r291452
Sponsored by: EMC / Isilon Storage Division
2015-12-01 19:37:24 +00:00
Edward Tomasz Napierala
508744b2b1
Fix rctl rule filters - eg the 'rctl -r :' case.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-12-01 14:02:14 +00:00
Edward Tomasz Napierala
5c859bfb63
Improve error reporting to clearly show problematic rules.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 13:14:45 +00:00
Edward Tomasz Napierala
4cf0d89598
Simplify rule retrieval and improve error handling.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 12:33:56 +00:00
Edward Tomasz Napierala
5e7a25553c
Fix some memory management problems.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 12:21:02 +00:00
Edward Tomasz Napierala
f4e361a725
Handle asprintf(3) errors in a standards-compliant way.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 12:09:12 +00:00
Edward Tomasz Napierala
0971623e61
Rewrite the rctl(8) utility to make it possible to add multiple rules
...
in a single run. This speeds up operation with large rulesets.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 12:01:36 +00:00
Edward Tomasz Napierala
478f7a726b
User and group identifiers the rctl(8) utility receives from the kernel
...
are always in numeric form; don't try to resolve them by names. This
speeds up rule listing with large rulesets by about 50%.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-29 11:30:17 +00:00
Edward Tomasz Napierala
18e1f46eae
Make rctl(8) use more reasonable buffer size for retrieving the rules.
...
Reviewed by: mjg@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-11-05 19:15:39 +00:00
Edward Tomasz Napierala
82224d7df8
Remove spurious period.
...
MFC after: 1 month
Sponsored by: International OCD Foun^W^W^WThe FreeBSD Foundation
2015-04-29 17:01:28 +00:00
Edward Tomasz Napierala
aae2a24b49
Make rctl(8) more user-friendly when RACCT/RCTL is disabled for some reason.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-04-29 16:41:49 +00:00
Edward Tomasz Napierala
6ec54a57b4
Add rctl(8), the utility to manage rctl rules.
...
Sponsored by: The FreeBSD Foundation
Reviewed by: kib (earlier version)
2011-03-30 18:27:52 +00:00