MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / Open

Function Open

CVE-2025-21702/exploit/exploit.c:478–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478int Open(const char *pathname, int flags, mode_t mode)
479{
480 int fd = open(pathname, flags, mode);
481 if (fd < 0)
482 unix_error("open");
483 return fd;
484}
485
486ssize_t Write(int fd, const void *buf, size_t count)
487{

Callers 1

write_string_to_fileFunction · 0.85

Calls 1

unix_errorFunction · 0.85

Tested by

no test coverage detected