Command Execution

PyFcntl

Python stdlib module — fcntl. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.fcntl()Neutral
#
Signature
fcntl(fd, cmd, arg)

Perform the operation `cmd` on file descriptor fd.

.flock()Neutral
#
Signature
flock(fd, operation)

Perform the lock operation `operation` on file descriptor `fd`.

.ioctl()Neutral
#
Signature
ioctl(fd, request, arg, mutate_flag)

Perform the operation `request` on file descriptor `fd`.

.lockf()Neutral
#
Signature
lockf(fd, cmd, len, start, whence)

A wrapper around the fcntl() locking calls.

Fully-Qualified Names

FQNField
fcntlfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import fcntl