History log of /freebsd-13.1/lib/libc/sys/procctl.2 (Results 1 – 25 of 34)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# c802b970 15-Oct-2021 Konstantin Belousov <[email protected]>

procctl: actually require debug privileges over target

(cherry picked from commit f5bb6e5a6d488740e451ad4acd82a70b95e786cd)


# 2e69ba48 15-Oct-2021 Konstantin Belousov <[email protected]>

procctl(2): add consistent shortcut P_ID:0 as curproc

(cherry picked from commit f833ab9dd187328306fa1601330fbc8332392abe)


# d4a478c2 02-Sep-2021 Konstantin Belousov <[email protected]>

procctl(2): Add PROC_WXMAP_CTL/STATUS

(cherry picked from commit 796a8e1ad1ae3f7b8e4c9f97bebbef5d7d5a2c16)


# e79a18da 01-Jul-2021 Edward Tomasz Napierala <[email protected]>

procctl(2): add PROC_NO_NEW_PRIVS_CTL, PROC_NO_NEW_PRIVS_STATUS

(cherry picked from commit db8d680ebe9b12c7d9e0eb8bf9940fcef709f5ec)


Revision tags: release/13.0.0, release/12.2.0
# 0e3972bc 11-Jul-2020 Allan Jude <[email protected]>

procctl(2): consistently refer to the last agrument as 'data'

Some older references called it 'arg'

Also fix a syntax error that was underlining an entire sentence.

PR: 247386
Reported by: Paul F

procctl(2): consistently refer to the last agrument as 'data'

Some older references called it 'arg'

Also fix a syntax error that was underlining an entire sentence.

PR: 247386
Reported by: Paul Floyd <[email protected]>, PauAmma (research)
MFC after: 2 weeks
Sponsored by: Klara Inc.

show more ...


# 6cf8fba3 13-Jun-2020 Konstantin Belousov <[email protected]>

procctl(2): document PROC_KPTI

Reviewed by: bcr
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D25258


# 7e54fea1 13-Jun-2020 Konstantin Belousov <[email protected]>

procctl(2): consistently refer to the data pointer as 'data'.

Reviewed by: bcr
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D25258


Revision tags: release/11.4.0
# 880ff10b 16-May-2020 Kyle Evans <[email protected]>

procctl(2): correct a minor cut-n-pasto

This is clearly describing PROC_PROTMAX_FORCE_DISABLE, rather than
PROC_ASL_FORCE_DISABLE.

Submitted by: [email protected]


# 5dcf0083 24-Apr-2020 Mateusz Piotrowski <[email protected]>

Fix a typo

Reported by: pstef
MFC after: 2 days


Revision tags: release/12.1.0
# fe69291f 03-Sep-2019 Konstantin Belousov <[email protected]>

Add procctl(PROC_STACKGAP_CTL)

It allows a process to request that stack gap was not applied to its
stacks, retroactively. Also it is possible to control the gaps in the
process after exec.

PR: 23

Add procctl(PROC_STACKGAP_CTL)

It allows a process to request that stack gap was not applied to its
stacks, retroactively. Also it is possible to control the gaps in the
process after exec.

PR: 239894
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D21352

show more ...


Revision tags: release/11.3.0
# 5dc7e31a 02-Jul-2019 Konstantin Belousov <[email protected]>

Control implicit PROT_MAX() using procctl(2) and the FreeBSD note
feature bit.

In particular, allocate the bit to opt-out the image from implicit
PROTMAX enablement. Provide procctl(2) verbs to set

Control implicit PROT_MAX() using procctl(2) and the FreeBSD note
feature bit.

In particular, allocate the bit to opt-out the image from implicit
PROTMAX enablement. Provide procctl(2) verbs to set and query
implicit PROTMAX handling. The knobs mimic the same per-image flag
and per-process controls for ASLR.

Reviewed by: emaste, markj (previous version)
Discussed with: brooks
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D20795

show more ...


# e0a126f6 28-Jun-2019 Konstantin Belousov <[email protected]>

Typo.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days


# 9b7448fc 09-Apr-2019 Edward Tomasz Napierala <[email protected]>

.Xr protect(1) and proccontrol(1) from procctl(2).

MFC after: 2 weeks
Sponsored by: DARPA, AFRL


# 9fb91a0a 26-Feb-2019 Konstantin Belousov <[email protected]>

procctl(2): document ASLR knobs.

Reviewed by: 0mp
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D19308


# 80a3fa48 26-Feb-2019 Konstantin Belousov <[email protected]>

procctl(2): fix -width parameter to .Bl.

According to 0mp, macros are not expanded in the argument provided to
-width. Use plain identifiers for width specification.

Noted and reviewed by: 0mp
Spo

procctl(2): fix -width parameter to .Bl.

According to 0mp, macros are not expanded in the argument provided to
-width. Use plain identifiers for width specification.

Noted and reviewed by: 0mp
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D19308

show more ...


Revision tags: release/12.0.0, release/11.2.0
# 450cd847 12-May-2018 Konstantin Belousov <[email protected]>

PROC_PDEATHSIG_CTL will appear first in 11.2.

Submitted by: Thomas Munro
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D15399


# 1302eea7 20-Apr-2018 Konstantin Belousov <[email protected]>

Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GET
-> PROC_PDEATHSIG_STATUS for consistency with other procctl(2)
operations names.

Requested by: emaste
Sponsored by: The FreeBSD

Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GET
-> PROC_PDEATHSIG_STATUS for consistency with other procctl(2)
operations names.

Requested by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 13 days

show more ...


# b9408863 18-Apr-2018 Konstantin Belousov <[email protected]>

Add PROC_PDEATHSIG_SET to procctl interface.

Allow processes to request the delivery of a signal upon death of
their parent process. Supposed consumer of the feature is PostgreSQL.

Submitted by: T

Add PROC_PDEATHSIG_SET to procctl interface.

Allow processes to request the delivery of a signal upon death of
their parent process. Supposed consumer of the feature is PostgreSQL.

Submitted by: Thomas Munro
Reviewed by: jilles, mjg
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D15106

show more ...


# ee50062c 23-Nov-2017 Konstantin Belousov <[email protected]>

Kill all descendants of the reaper, even if they are descendants of a
subordinate reaper.

Also, mark reapers when listing pids.

Reported by: Michael Zuo <[email protected]>
PR: 223745
Reviewed b

Kill all descendants of the reaper, even if they are descendants of a
subordinate reaper.

Also, mark reapers when listing pids.

Reported by: Michael Zuo <[email protected]>
PR: 223745
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D13183

show more ...


Revision tags: release/10.4.0, release/11.1.0
# a6c1047f 16-Mar-2017 Maxim Konovalov <[email protected]>

More trap_enotcap spelling fixes.

PR: 217839
Submitted by: tobik


Revision tags: release/11.0.1
# 5925fff0 27-Sep-2016 Konstantin Belousov <[email protected]>

Editing fixes for r306257, documentation for trapcap.

Suggested by: wblock
Discussed with: jilles
Reviewed by: cem (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Different

Editing fixes for r306257, documentation for trapcap.

Suggested by: wblock
Discussed with: jilles
Reviewed by: cem (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D8023

show more ...


# 23670cf4 23-Sep-2016 Konstantin Belousov <[email protected]>

Document r306081, i.e. procctl(PROC_TRAPCAP) and sysctl kern.trap_enocap.

Reviewed by: cem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D

Document r306081, i.e. procctl(PROC_TRAPCAP) and sysctl kern.trap_enocap.

Reviewed by: cem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D8003

show more ...


Revision tags: release/11.0.0, release/10.3.0
# 328b9e0b 21-Aug-2015 Benjamin Kaduk <[email protected]>

Editing pass on procctl.2

Spell "descendant" correctly.

Grammar fixes.

Use correct width argument to Bl.

Use Po and Pc to avoid leaving a dangling '(' on the end of a line.


# 41d50cd6 20-Aug-2015 Konstantin Belousov <[email protected]>

If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while already
having some children, the children' reaper is not reset to the parent.
This allows for the situation where reaper has children but

If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while already
having some children, the children' reaper is not reset to the parent.
This allows for the situation where reaper has children but not
descendands and the too strict asserts in the reap_status() fire.

Remove the wrong asserts, add some clarification for the situation to
the procctl(2) REAP_STATUS.

Reported and tested by: feld
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

show more ...


Revision tags: release/10.2.0
# 179fa75e 23-Apr-2015 John Baldwin <[email protected]>

Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.

Approved by: Hudson River Trading LLC (who owns ACT LLC)
MFC after: 1 week


12