Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence =?iso-8859-13?q?D=FFOliveiro?= Newsgroups: comp.lang.python Subject: Python linuxfs Modules Date: Tue, 17 Mar 2026 06:33:44 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: <10pask7$2m01c$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 17 Mar 2026 06:33:44 +0000 (UTC) Injection-Info: dont-email.me; posting-host="826ddadae121c482abf76a9551f185a7"; logging-data="2818092"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LwVds5X4ZUSxCXAr+55nk" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:hAsT7bLTcCDR42LGLSmsZ+LGilU= Xref: csiph.com comp.lang.python:197737 python_linuxfs is a set of Python modules providing higher-level wrappers around various Linux-specific system APIs. Some of these already have support in the “os” module in the standard Python library, but most don’t. Even for the ones that do, I think my wrappers are nicer to use, because they avoid the requirement for working with bitmasks and use sets of symbolic bit enums instead (with easy conversions between both forms). The package is split into five modules: * linuxfs -- file/directory functions and common utilities used by other modules * linuxacl -- access-control-list functions * linuxmount -- enhanced Linux mount API * linuxpriv -- privilege control, i.e. the Linux landlock API * linuxproc -- process control: prctl (selected), pidfd, signalfd and signal mask sets, namespaces