Repository navigation
Expand file tree
/
Copy pathclippy.toml
More file actions
51 lines (50 loc) · 4.6 KB
/
Copy pathclippy.toml
File metadata and controls
51 lines (50 loc) · 4.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
disallowed-methods = [
{ path = "std::fs::read", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::write", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::read_to_string", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::read_dir", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::create_dir", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::create_dir_all", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::remove_file", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::remove_dir", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::metadata", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::symlink_metadata", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::canonicalize", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::File::open", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::File::create", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::fs::OpenOptions::open", reason = "use rustpython_host_env for host filesystem access" },
{ path = "std::env::var", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::var_os", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::set_var", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::remove_var", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::vars", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::vars_os", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::current_dir", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::set_current_dir", reason = "use rustpython_host_env for host environment access" },
{ path = "std::env::temp_dir", reason = "use rustpython_host_env for host environment access" },
{ path = "std::process::Command::new", reason = "use rustpython_host_env for host process access" },
{ path = "std::process::exit", reason = "use rustpython_host_env for host process access" },
{ path = "std::process::abort", reason = "use rustpython_host_env for host process access" },
{ path = "std::process::id", reason = "use rustpython_host_env for host process access" },
{ path = "std::net::TcpStream::connect", reason = "use rustpython_host_env for host network access" },
{ path = "std::net::TcpListener::bind", reason = "use rustpython_host_env for host network access" },
{ path = "std::net::UdpSocket::bind", reason = "use rustpython_host_env for host network access" },
{ path = "libc::select", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::pselect", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::poll", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::ppoll", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::kqueue", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::kevent", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::kevent64", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_create", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_create1", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_ctl", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_wait", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_pwait", reason = "use rustpython_host_env::select", allow-invalid = true },
{ path = "libc::epoll_pwait2", reason = "use rustpython_host_env::select", allow-invalid = true },
]
disallowed-types = [
{ path = "libc::fd_set", reason = "use rustpython_host_env::select::FdSet", allow-invalid = true },
{ path = "libc::kevent", reason = "use rustpython_host_env::select::kqueue::Event", allow-invalid = true },
{ path = "libc::epoll_event", reason = "use rustpython_host_env::select::epoll", allow-invalid = true },
]