mirror of
https://github.com/openbsd/src.git
synced 2026-04-18 03:04:40 +00:00
After the kernel-writes-the-buffer changes to profil(2) a year ago, the
profil(2) call only works for stop/restart of profiling. So pledge no longer interferes and it is available in "stdio".
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: pledge.2,v 1.79 2026/03/27 05:14:38 deraadt Exp $
|
||||
.\" $OpenBSD: pledge.2,v 1.80 2026/03/28 17:12:01 deraadt Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
|
||||
.\"
|
||||
@@ -14,7 +14,7 @@
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate: March 27 2026 $
|
||||
.Dd $Mdocdate: March 28 2026 $
|
||||
.Dt PLEDGE 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@@ -157,11 +157,6 @@ These are the promises which can read special files:
|
||||
.Pa /etc/services
|
||||
.Pa /etc/protocols
|
||||
.El
|
||||
.It Xr profil 2 :
|
||||
Can only disable profiling.
|
||||
XXX After the threaded profiling rewrite, is this still true?? I think
|
||||
the now you can only stop/restart on the existing buffer, because the buffer
|
||||
is setup at process start.
|
||||
.It Fn pledge :
|
||||
Can only reduce permissions for
|
||||
.Fa promises
|
||||
|
||||
Reference in New Issue
Block a user