Lines Matching refs:os
20 import os
65 for root, _, files in sorted(os.walk(item)):
68 file_list_path = os.path.join(root, each_file)
165 check_cmd = [os.path.join(args.tool_path, "sefcontext_compile"),
170 if os.path.exists(contexts_file + ".bin"):
171 os.unlink(contexts_file + ".bin")
230 check_cmd = [os.path.join(args.tool_path, "sefcontext_compile"),
242 if os.path.exists(contexts_file + ".bin"):
243 os.unlink(contexts_file + ".bin")
248 all_combined_file_contexts = os.path.join(output_path, "file_contexts")
250 all_combined_file_contexts = os.path.join(output_path, "all_file_contexts")
252 combined_file_contexts = os.path.join(output_path, "file_contexts")
261 build_bin_cmd = [os.path.join(args.tool_path, "sefcontext_compile"),
262 "-o", os.path.join(args.dst_dir, "file_contexts.bin"),
286 combined_contexts = os.path.join(output_path, "sehap_contexts")
301 path = os.path.join(root_dir, i)
302 if (os.path.exists(path)):
311 for root, dirs, _ in sorted(os.walk(search_dir)):
314 folder_list.append(os.path.join(root, dir_i))
320 libpcre2_path = os.path.realpath("./clang_arm64/thirdparty/pcre2/")
322 libpcre2_path = os.path.realpath("./clang_x64/thirdparty/pcre2/")
323 os.environ['LD_LIBRARY_PATH'] = libpcre2_path