I'm trying to build glibc 2.24 from source. The host OS is WSL Ubuntu 20.04, the compiler is gcc 9.
The ld utility failed when trying to link the nss module of glibc:
/usr/bin/ld:…
I have CentOS 6.5
I'm trying to intsall git via yum but getting an error while installing the pre-requisite packages. I don't need to but it doesn't hurt running sudo with root.
Error message:
--> Finished Dependency Resolution
Error: Multilib…
Sorry for answering my own question, but I've seen this crop up in multiple forums, so I wanted to post this in hope it helps someone else.
The basic problem occurs when trying to run Ansible against older Python interpreters -- particularly…
I'm trying to port Android Things to a binary code compatible hardware platform. What I've done so far is to convert the system.img sparse file to an ext4 partition which I copied to an SD card.
Now I'm stuck at the point where /init is starting…
I use yum install mysql-devel.x86_64 on centos5, but error like this:
Transaction Check Error:
package libselinux-1.33.4-5.7.el5.centos.x86_64 (which is newer than libselinux-1.33.4-5.7.el5.i386) is already installed
Error…
I am building an openwrt system with selinux support.
First I meet the bug that cannot find , during busybox compiling. And then I know that there is a libselinux library needed to build busybox with selinux support.
As I am not very familiar with…
For my Docker container Selinux is enabled and set to "Enforcing" mode.
We have 2 container running in our system. But for one container both "MountLabel" and "ProcessLabel" is configured , as shown below :
docker inspect | grep…
I am using CentOS 7.4.1708. Current environment have no internet access. So I installed docker (and docker-compose) from binaries.
At first, I encounter below error, found that is related to selinux with docker. So I disable selinux.
[root@DB1…
I've enabled the SELinux by doing the below changes,
Added meta-selinux path to BUILDDIR/conf/bblayers.conf file.
Set DISTRO_FEATURES_append=" pam selinux" in in BUILDDIR/conf/local.conf file.
I've executed the below command to generate a default…
I am trying to map the requested access control vector to the corresponding textual representation of the system call in the following function:
int avc_has_perm(security_id_t ssid, security_id_t tsid,
security_class_t tclass,…
I noticed that a simple
$ . build/envsetup.sh
$ lunch
$ aosp_hammerhead-eng
$ make -j16
Would not build also the external libraries in the ./external folder.
How am I supposed to build source code in such folder?
In particular, I am modifying…
The selinux mechanism is deployed on android 7.1, so I must fix selinux denied issues. Now there are only two denied issues remained, but I have write these two accesses in selinux policies in policy file. That are denied issues' log below:
avc:…
I'm using Android SELinux enforced device and doing the following:
adb pull /sepolicy sepolicy1
adb pull /sys/fs/selinux/policy sepolicy2
diff sepolicy1 sepolicy2
I get:
Binary files sepolicy1 and sepolicy2 differ
From examining with a hex viewer…
I have seen that selinux need to enable auditing support. I want to know the difference between audit and audit2allow, can I just use audit2allow instead of audit?
It seems that no audit support in android code, only audit2allow.
For the audit, I…