paxctl man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

PAXCTL(8)		  BSD System Manager's Manual		     PAXCTL(8)

NAME
     paxctl — list and modify PaX flags associated with an ELF program

SYNOPSIS
     paxctl flags program ...

DESCRIPTION
     The paxctl utility is used to list and manipulate PaX flags associated
     with an ELF program.  The PaX flags signify to the loader the privilege
     protections to be applied to mapped memory pages, and fuller explanations
     of the specific protections can be found in the security(7) manpage.

     Each flag can be prefixed either with a “+” or a “-” sign to add or
     remove the flag, respectively.

     The following flags are available:

     a	   Explicitly disable PaX ASLR (Address Space Layout Randomization)
	   for program.

     A	   Explicitly enable PaX ASLR for program.

     g	   Explicitly disable PaX Segvguard for program.

     G	   Explicitly enable PaX Segvguard for program.

     m	   Explicitly disable PaX MPROTECT (mprotect(2) restrictions) for
	   program.

     M	   Explicitly enable PaX MPROTECT (mprotect(2) restrictions) for
	   program.

     To view existing flags on a file, execute paxctl without any flags.

SEE ALSO
     mprotect(2), sysctl(3), options(4), elf(5), security(7), sysctl(8),
     fileassoc(9)

HISTORY
     The paxctl utility first appeared in NetBSD 4.0.

     The paxctl utility is modeled after a tool of the same name available for
     Linux from the PaX project.

AUTHORS
     Elad Efrat ⟨elad@NetBSD.org⟩
     Christos Zoulas ⟨christos@NetBSD.org⟩

BUGS
     The paxctl utility currently uses elf(5) “note” sections to mark executa‐
     bles as PaX Segvguard enabled.  This will be done using fileassoc(9) in
     the future so that we can control who does the marking and not altering
     the binary file signature.

BSD			      September 17, 2009			   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net