Skip to content

AFL Warning: We probably want the fork() children to run first #94

@xiaozhouqi

Description

@xiaozhouqi

1、Problem description
Traceback (most recent call last):
File "/home/angr/.virtualenvs/angr/bin/shellphuzz", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/home/angr/angr-dev/fuzzer/shellphuzz", line 87, in
memory=args.memory, seeds=seeds, timeout=args.run_timeout,
File "/home/angr/angr-dev/fuzzer/fuzzer/fuzzer.py", line 99, in init
Fuzzer._perform_env_checks()
File "/home/angr/angr-dev/fuzzer/fuzzer/fuzzer.py", line 599, in _perform_env_checks
raise InstallError(err)
fuzzer.fuzzer.InstallError: AFL Warning: We probably want the fork() children to run first
execute 'echo 1 | sudo tee /proc/sys/kernel/sched_child_runs_first'

Exception ignored in: <bound method Fuzzer.del of <fuzzer.fuzzer.Fuzzer object at 0x7f188ab629e8>>
Traceback (most recent call last):
File "/home/angr/angr-dev/fuzzer/fuzzer/fuzzer.py", line 665, in del
self.kill()
File "/home/angr/angr-dev/fuzzer/fuzzer/fuzzer.py", line 266, in kill
for p in self.procs:
2、my unsuccessful solution
I run the following cmd in docker environment which gets from shellphish/mechaphish image. It output
the above error message.I'm trying to modify the sched_child_runs_first config file. But it's readonly file that cannot be changed. How can i solve this problem? I'm very appreciated for you help.
echo 1 | sudo tee /proc/sys/kernel/sched_child_runs_first
tee: /proc/sys/kernel/sched_child_runs_first: Read-only file system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions