Skip to contentSkip to conversation

POSIX capability broken pseudo

DISCUSSION Kumar, Shrawan 1 participant 1 message Jul 10, 2018

lore
Share & tools
lore
#0 lore raw

Any update on this ?

Regards
Shrawan

From: Kumar, Shrawan
Sent: 09 July 2018 17:17
To: '[email protected]' <[email protected]>
Cc: '[email protected]' <[email protected]>; 'Khem Raj' <[email protected]>
Subject: POSIX capability broken pseudo

Hello Team,

Under DISTRO_VERSION = "2.0.2" ("jethro"), I was using the attached “setcap.patch” on pseudo_1.7.4 to get POSIX capability set in the files as below :

pkg_postinst_${PN}() {

setcap cap_net_raw+ep $D$bindir/helloworld

}

This was working fine.

However, recently switched to DISTRO_VERSION = "2.2.2" ("morty") - pseudo_1.8.1, where the patch is getting applied but the POSIX capabilities are not getting set.

Can someone help here?

Regards
Shrawan