-
在okcall.h的第108,109行,
SYS_execve的限制变成了HOJ_MAX_LIMIT
如果有一个.c文件有一行这样的内容
execl("./Main",(char *)NULL);
是不是会出问题?
-
tracee code
```rs
fn main() -> anyhow::Result {
std::thread::spawn(|| unsafe {
libc::execl("/home/test/xxxx\0".as_ptr() as *const _, std::ptr::null());
})
.join()
.unwra…
-
Calling execve on a binary with execute permissions but no read permissions is allowed. However, the resulting task is marked non-dumpable[1] by the kernel.
This affects __ptrace_may_access[2], which…
-
https://github.com/scivey/bower-copy/blob/master/bin/cmd.js#L1
# !/usr/bin/env node is ending with a "\r"
leading to "no such file or directory" error under linux
```
$> node_modules/.bin/bower-copy…
-
I saw in the code comments in signals.c that SIG_IGN is inherited by new inherited by execve() process.
But maybe there are some flags we can use to avoid this. Check out this: (https://stackoverflow…
-
With the server started:
```
./target/debug/chisel start
```
Hammering on `chisel restart`:
```
for i in {1..1000}; do ./target/debug/chisel restart; done
```
Eventually makes it exhau…
-
### Motivation
Follow up to https://github.com/giantswarm/roadmap/issues/1659
With our custom CAPZ Flatcar image there is an error reported by the `audit-rules.service`
* I can't understand the err…
-
I'm encountering difficulties parsing auditd logs in Linux when using the audit rules provided by Florian's GitHub repository (https://github.com/Neo23x0/auditd/blob/master/audit.rules).
Not all o…
-
Make `std.process.execv` (and similar) return type be `ExecvError!noreturn`, instead of `ExecvError`. This plays better with the type system, and helps the user understand that the function would not …
-
```
What steps will reproduce the problem?
1. Run shellinaboxd with a service argument that points at a binary not in
$PATH (as seen from shellinaboxd). E.g.: -s
/:shellinabox:shellinabox:/:/usr/loc…