Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for supportsUnveil (0.31 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/unveil_openbsd.go

    // UnveilBlock blocks future unveil calls.
    // For more information see unveil(2).
    func UnveilBlock() error {
    	if err := supportsUnveil(); err != nil {
    		return err
    	}
    	return unveil(nil, nil)
    }
    
    // supportsUnveil checks for availability of the unveil(2) system call based
    // on the running OpenBSD version.
    func supportsUnveil() error {
    	maj, min, err := majmin()
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top