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
									
								
								server.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								server.c
									
									
									
									
									
								
							@@ -176,8 +176,8 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
 | 
			
		||||
		tty_create_log();
 | 
			
		||||
 | 
			
		||||
#ifdef __OpenBSD__
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
 | 
			
		||||
	    "ps", NULL) != 0)
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath fattr unix getpw recvfd proc exec "
 | 
			
		||||
	    "tty ps", NULL) != 0)
 | 
			
		||||
		fatal("pledge failed");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user