test42: disable attach-to-PM test
This commit is contained in:
		
							parent
							
								
									f4574783dc
								
							
						
					
					
						commit
						307ad7b3b0
					
				@ -855,8 +855,11 @@ void test_attach()
 | 
				
			|||||||
  if (errno != EPERM) e(4);
 | 
					  if (errno != EPERM) e(4);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Attaching to PM is not allowed. */
 | 
					  /* Attaching to PM is not allowed. */
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
 | 
					  /* FIXME: disabled until we can reliably determine PM's pid */
 | 
				
			||||||
  if (ptrace(T_ATTACH, 0, 0, 0) != -1) e(5);
 | 
					  if (ptrace(T_ATTACH, 0, 0, 0) != -1) e(5);
 | 
				
			||||||
  if (errno != EPERM) e(6);
 | 
					  if (errno != EPERM) e(6);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  pid = traced_fork(test_attach_child);
 | 
					  pid = traced_fork(test_attach_child);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user