mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-28 12:19:16 +00:00 
			
		
		
		
	hack/pin-dependency.sh golang.org/x/crypto latest hack/pin-dependency.sh golang.org/x/net latest hack/pin-dependency.sh golang.org/x/exp latest hack/pin-dependency.sh golang.org/x/sys latest hack/pin-dependency.sh golang.org/x/time latest hack/pin-dependency.sh golang.org/x/tools latest hack/lint-dependencies.sh hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037 hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449 hack/lint-dependencies.sh hack/update-internal-modules.sh hack/update-vendor.sh Co-authored-by: Stephen Augustus <foo@auggie.dev>
		
			
				
	
	
		
			71 lines
		
	
	
		
			1004 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			1004 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package plan9
 | |
| 
 | |
| // Plan 9 Constants
 | |
| 
 | |
| // Open modes
 | |
| const (
 | |
| 	O_RDONLY  = 0
 | |
| 	O_WRONLY  = 1
 | |
| 	O_RDWR    = 2
 | |
| 	O_TRUNC   = 16
 | |
| 	O_CLOEXEC = 32
 | |
| 	O_EXCL    = 0x1000
 | |
| )
 | |
| 
 | |
| // Rfork flags
 | |
| const (
 | |
| 	RFNAMEG  = 1 << 0
 | |
| 	RFENVG   = 1 << 1
 | |
| 	RFFDG    = 1 << 2
 | |
| 	RFNOTEG  = 1 << 3
 | |
| 	RFPROC   = 1 << 4
 | |
| 	RFMEM    = 1 << 5
 | |
| 	RFNOWAIT = 1 << 6
 | |
| 	RFCNAMEG = 1 << 10
 | |
| 	RFCENVG  = 1 << 11
 | |
| 	RFCFDG   = 1 << 12
 | |
| 	RFREND   = 1 << 13
 | |
| 	RFNOMNT  = 1 << 14
 | |
| )
 | |
| 
 | |
| // Qid.Type bits
 | |
| const (
 | |
| 	QTDIR    = 0x80
 | |
| 	QTAPPEND = 0x40
 | |
| 	QTEXCL   = 0x20
 | |
| 	QTMOUNT  = 0x10
 | |
| 	QTAUTH   = 0x08
 | |
| 	QTTMP    = 0x04
 | |
| 	QTFILE   = 0x00
 | |
| )
 | |
| 
 | |
| // Dir.Mode bits
 | |
| const (
 | |
| 	DMDIR    = 0x80000000
 | |
| 	DMAPPEND = 0x40000000
 | |
| 	DMEXCL   = 0x20000000
 | |
| 	DMMOUNT  = 0x10000000
 | |
| 	DMAUTH   = 0x08000000
 | |
| 	DMTMP    = 0x04000000
 | |
| 	DMREAD   = 0x4
 | |
| 	DMWRITE  = 0x2
 | |
| 	DMEXEC   = 0x1
 | |
| )
 | |
| 
 | |
| const (
 | |
| 	STATMAX    = 65535
 | |
| 	ERRMAX     = 128
 | |
| 	STATFIXLEN = 49
 | |
| )
 | |
| 
 | |
| // Mount and bind flags
 | |
| const (
 | |
| 	MREPL   = 0x0000
 | |
| 	MBEFORE = 0x0001
 | |
| 	MAFTER  = 0x0002
 | |
| 	MORDER  = 0x0003
 | |
| 	MCREATE = 0x0004
 | |
| 	MCACHE  = 0x0010
 | |
| 	MMASK   = 0x0017
 | |
| )
 |