Hi,
When I am improving my patchset to discard unused branches of tunable conditionals these days, I run into a new segfault issue that seems has nothing to do with my patchset. After I checked back to the master branch for both toolchain and refpolicy and pulled the latest codes, the segfault still exist. Turns out the problem lies in genhomedircon.c, the level argument passed to set_fallback_user is NULL, and strdup(NULL) would segfault in the end. Below is the debug message I've seen: genhomedircon.c Entered set_fallback_user, user = user_u, prefix = user, level = (null) Passing NULL to strdup would segfault make: *** [load] Segmentation fault Has anyone else also run into the same problem? I didn't run into it before Aug 23rd, if this is a real problem, then it must have been introduced after that date. So far I am pretty new to the semanage code, any idea to fix this issue? Thanks, Harry |