summaryrefslogtreecommitdiff
path: root/privs.h
blob: 9f9cfdd0626dee927ca26138809eec7a8daf7a38 (plain)
1
2
3
4
5
6
7
8
#ifndef PRIVS_H
#define PRIVS_H

#include <stdbool.h>

extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);

#endif /* PRIVS_H */
();'>
authorTakashi Iwai <tiwai@suse.de>2016-04-13 09:45:53 +0200
committerTakashi Iwai <tiwai@suse.de>2016-04-13 09:53:46 +0200
commitc44da62b55bb453052869ab095bcda7aa0bd6bba (patch)
treebd5c759f68241d3d330abbec0b9f5153f387dd85 /.mailmap
parent023d8218ec0dfc30e11d4ec54f640e8f127d1fbe (diff)
ALSA: hda - Fix inconsistent monitor_present state until repoll
While the previous commit fixed the missing monitor_present flag update, it may be still in an inconsistent state while the driver repolls: the flag itself is updated, but the eld_valid flag and the contents don't follow until the repoll finishes (and may be repeated for a few times). The basic problem is that pin_eld->monitor_present is updated in the caller side. This should have been updated only in update_eld(). So, the proper fix is to avoid accessing pin_eld but only spec->temp_eld. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '.mailmap')