Article QBZG tame(2) is now pledge(2)

tame(2) is now pledge(2)

by
from OpenBSD Journal on (#QBZG)
The tame(2) privilege restriction syscall has now been renamed to pledge(2) by Theo de Raadt in this commit:

CVSROOT:/cvsModule name:srcChanges by:deraadt@cvs.openbsd.org2015/10/08 19:17:21Modified files:sys/sys : syscall_mi.h sys/conf : files sys/kern : sys_generic.c Added files:sys/kern : kern_pledge.c Removed files:sys/kern : kern_tame.c Log message:Rename tame() to pledge(). This fairly interface has evolved to be morestrict than anticipated. It allows a programmer to pledge/promise/covenantthat their program will operate within an easily defined subset of theUnix environment, or it pays the price.

Read more...

External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments