mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	udev: tell inotify to actually inform us about ACL changes
This commit is contained in:
		
							parent
							
								
									2d0120485c
								
							
						
					
					
						commit
						066e160bbd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -389,7 +389,7 @@ static int setup_inotify(struct userdata *u) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev));
 | 
					    dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev));
 | 
				
			||||||
    r = inotify_add_watch(u->inotify_fd, dev_snd, IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
 | 
					    r = inotify_add_watch(u->inotify_fd, dev_snd, IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
 | 
				
			||||||
    pa_xfree(dev_snd);
 | 
					    pa_xfree(dev_snd);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (r < 0) {
 | 
					    if (r < 0) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue