Merge remote-tracking branch 'aosp/upstream-master' into mymerge
This merge was generated by following the instructions at
go/upstream-maintainers
Contains the following commits:
4791a99d python: Fix some typos
31fcd66d python/sepolicy/sepolicy/gui: Reflect sepolicy changes into gui
d479baa8 libsepol: Define extended_socket_class policy capability
ef387e88 python/sepolicy/sepolicy: Cleanup of gui code
8fe1b0ca python/sepolicy/sepolicy: optimise sepolicy gui loading
fc3d8cea selinux(8): fix display of man page references
7179fd87 man: standardize spacing with pointers in prototypes
af18b86e libsepol/cil: remove avrules with no affected types
bec41c4f policycoreutils/setfiles: Mention customizable types in restorecon man page
e51b2338 libsemanage/tests: make "make test" fail when a CUnit test fails
9e0cf6ec libsemanage/tests: make tests standalone
fd6bc593 libsemanage/tests: test more cases of semanage_split*()
a228bb37 libsemanage: simplify string utilities functions
57a3b1b4 libsemanage: add semanage_str_replace() utility function
300b8ad4 libsemanage: genhomedircon: drop ustr dependency
920ee9ee libsemanage: remove ustr library from Makefiles, README and pkg-config
055d14a9 libselinux/utils: do not create an empty /sbin directory
5db4537f libselinux: Fix unitialized variable compiler warnings
0abc25a3 libsemanage: Fix unitialized variable compiler warnings
c3b8d4aa libsepol/tests: fix -Wsometimes-uninitialized clang warnings
c39289c9 libsepol/tests: fix some memory leaks
da002468 checkpolicy: free id in define_port_context()
6ef96094 checkpolicy: fix memory leaks in genfscon statements parsing
47f61b0e checkpolicy: do not leak queue elements in queue_destroy()
c1ba8311 checkpolicy: free id where it was leaked
aa115d00 policycoreutils/restorecond: Decrease loglevel of termination message
58fb53bc libsemanage: genhomedircon: remove duplicated test condition
1004a3b3 libsemanage: increment the right index variable in for loop
0399ec64 libselinux: Generate SWIG wrappers for selinux_restorecon()
14f07097 libselinux: Rewrite restorecon() python method
d7b0941e checkpolicy: fix memory usage in define_bool_tunable()
d4923b49 libsepol: make capability index an unsigned int
3c85f9f1 libselinux: include errno.h instead of sys/errno.h
61f760b7 checkpolicy: always include ctypes.h
c667b33a mcstransd: fix and reorder includes
62f05898 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO"
0e67689d restorecon manpage: link back to fixfiles
d66c54e2 libselinux: selinux_restorecon: only log no default label warning if recursive
6a2e352d libselinux: replace all malloc + memset by calloc in android label backend.
90889884 policy_define.c: don't free memory returned from queue_head()
Test: Device boots and no obvious problems
Change-Id: I726d5a6329061f1946ad056c52b42c9c4fb2b92b