Skip to content

Commit 1dac6f1

Browse files
committed
dhd: Don't add regular user to system group.
The system group in android has some elevated privileges which we don't want apps to have. If for some reason an adaptation needs normal user in system group, either look for a solution which would avoid the need or as a last resort add the system group in spec file with %define additional_ha_groups \ system\ %{nil} Commit adding user to system group was made in 2014, see 5df1e3d. [dhd] Don't add regular user to system group. Fixes JB#48034 Signed-off-by: Juho Hämäläinen <juho.hamalainen@jolla.com>
1 parent 85aebfd commit 1dac6f1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

droid-hal-device.inc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -699,14 +699,13 @@ cp tmp/hw-release %{buildroot}/%{_libdir}/droid-devel/hw-release.vars
699699
mkdir -p %{buildroot}/%{_libdir}/droid/hw-group.d
700700
cat >> %{buildroot}/%{_libdir}/droid/hw-group.d/default.list <<EOF
701701
audio
702+
bluetooth
703+
camera
702704
graphics
703-
system
704705
input
705-
camera
706706
media
707-
mtp
708-
bluetooth
709707
media_rw
708+
mtp
710709
EOF
711710

712711
if [ $ANDROID_VERSION_MAJOR -ge "5" ] && \

0 commit comments

Comments
 (0)