mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
Conflicts: server.c tmux.c
This commit is contained in:
		
							
								
								
									
										4
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tmux.c
									
									
									
									
									
								
							@@ -261,8 +261,8 @@ main(int argc, char **argv)
 | 
			
		||||
		usage();
 | 
			
		||||
 | 
			
		||||
#ifdef __OpenBSD__
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd "
 | 
			
		||||
	    "proc exec tty ps", NULL) != 0)
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath flock fattr unix getpw sendfd "
 | 
			
		||||
	    "recvfd proc exec tty ps", NULL) != 0)
 | 
			
		||||
		err(1, "pledge");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user