diff --git a/reverie-examples/chaos.rs b/reverie-examples/chaos.rs index ba31cd5..d99d8a2 100644 --- a/reverie-examples/chaos.rs +++ b/reverie-examples/chaos.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::sync::atomic::AtomicU64; use std::sync::atomic::Ordering; diff --git a/reverie-examples/chrome-trace/event.rs b/reverie-examples/chrome-trace/event.rs index cc8cbf5..874568d 100644 --- a/reverie-examples/chrome-trace/event.rs +++ b/reverie-examples/chrome-trace/event.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::path::PathBuf; use std::time::SystemTime; diff --git a/reverie-examples/chrome-trace/global_state.rs b/reverie-examples/chrome-trace/global_state.rs index b52b849..c680623 100644 --- a/reverie-examples/chrome-trace/global_state.rs +++ b/reverie-examples/chrome-trace/global_state.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::io; use std::path::PathBuf; use std::sync::Mutex; diff --git a/reverie-examples/chrome-trace/main.rs b/reverie-examples/chrome-trace/main.rs index 03c6827..45a89b7 100644 --- a/reverie-examples/chrome-trace/main.rs +++ b/reverie-examples/chrome-trace/main.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/chrome-trace/tool.rs b/reverie-examples/chrome-trace/tool.rs index 2db490c..567fe69 100644 --- a/reverie-examples/chrome-trace/tool.rs +++ b/reverie-examples/chrome-trace/tool.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/chunky_print.rs b/reverie-examples/chunky_print.rs index 807eed0..3ef9067 100644 --- a/reverie-examples/chunky_print.rs +++ b/reverie-examples/chunky_print.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/counter1.rs b/reverie-examples/counter1.rs index 14dd9c4..7a83d03 100644 --- a/reverie-examples/counter1.rs +++ b/reverie-examples/counter1.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/counter2.rs b/reverie-examples/counter2.rs index 2a5dac2..f297958 100644 --- a/reverie-examples/counter2.rs +++ b/reverie-examples/counter2.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/debug.rs b/reverie-examples/debug.rs index ac45e74..bab78e0 100644 --- a/reverie-examples/debug.rs +++ b/reverie-examples/debug.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/noop.rs b/reverie-examples/noop.rs index 890cd39..7d7f477 100644 --- a/reverie-examples/noop.rs +++ b/reverie-examples/noop.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/pedigree.rs b/reverie-examples/pedigree.rs index e86c509..e410888 100644 --- a/reverie-examples/pedigree.rs +++ b/reverie-examples/pedigree.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + //! An example that tracks thread pedigree using local state use clap::Parser; use reverie::syscalls::Syscall; diff --git a/reverie-examples/strace/config.rs b/reverie-examples/strace/config.rs index d3cfa15..b397e36 100644 --- a/reverie-examples/strace/config.rs +++ b/reverie-examples/strace/config.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/strace/filter.rs b/reverie-examples/strace/filter.rs index afc889e..aca6f21 100644 --- a/reverie-examples/strace/filter.rs +++ b/reverie-examples/strace/filter.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use reverie::syscalls::Sysno; use serde::Deserialize; use serde::Serialize; diff --git a/reverie-examples/strace/global_state.rs b/reverie-examples/strace/global_state.rs index aa7606b..15abf34 100644 --- a/reverie-examples/strace/global_state.rs +++ b/reverie-examples/strace/global_state.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use reverie::GlobalTool; use reverie::Pid; diff --git a/reverie-examples/strace/main.rs b/reverie-examples/strace/main.rs index e6f42b5..287a1b5 100644 --- a/reverie-examples/strace/main.rs +++ b/reverie-examples/strace/main.rs @@ -1,14 +1,9 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. */ mod config; diff --git a/reverie-examples/strace/tool.rs b/reverie-examples/strace/tool.rs index ea96bc7..88b4ce3 100644 --- a/reverie-examples/strace/tool.rs +++ b/reverie-examples/strace/tool.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-examples/strace_minimal.rs b/reverie-examples/strace_minimal.rs index a41453c..28b4ce4 100644 --- a/reverie-examples/strace_minimal.rs +++ b/reverie-examples/strace_minimal.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use clap::Parser; use reverie::syscalls::Displayable; use reverie::syscalls::Syscall; diff --git a/reverie-process/src/builder.rs b/reverie-process/src/builder.rs index fec6079..1234b33 100644 --- a/reverie-process/src/builder.rs +++ b/reverie-process/src/builder.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::borrow::Cow; use std::collections::BTreeMap; use std::ffi::OsStr; diff --git a/reverie-process/src/child.rs b/reverie-process/src/child.rs index a2f96c8..ca419b5 100644 --- a/reverie-process/src/child.rs +++ b/reverie-process/src/child.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use core::future::Future; use core::pin::Pin; diff --git a/reverie-process/src/clone.rs b/reverie-process/src/clone.rs index c2aef09..bd6aff9 100644 --- a/reverie-process/src/clone.rs +++ b/reverie-process/src/clone.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use syscalls::Errno; use super::Pid; diff --git a/reverie-process/src/container.rs b/reverie-process/src/container.rs index 56cb0dd..fe0fc86 100644 --- a/reverie-process/src/container.rs +++ b/reverie-process/src/container.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::borrow::Cow; use std::collections::BTreeMap; use std::ffi::CString; diff --git a/reverie-process/src/env.rs b/reverie-process/src/env.rs index 9529477..d603d0d 100644 --- a/reverie-process/src/env.rs +++ b/reverie-process/src/env.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::borrow::Cow; use std::collections::BTreeMap; use std::ffi::CString; diff --git a/reverie-process/src/error.rs b/reverie-process/src/error.rs index 09cca09..7e2fe0b 100644 --- a/reverie-process/src/error.rs +++ b/reverie-process/src/error.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use serde::Deserialize; diff --git a/reverie-process/src/exit_status.rs b/reverie-process/src/exit_status.rs index b2322c6..df34085 100644 --- a/reverie-process/src/exit_status.rs +++ b/reverie-process/src/exit_status.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::os::unix::process::ExitStatusExt; use nix::sys::signal; diff --git a/reverie-process/src/fd.rs b/reverie-process/src/fd.rs index fa1fc2e..aa573bc 100644 --- a/reverie-process/src/fd.rs +++ b/reverie-process/src/fd.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/id_map.rs b/reverie-process/src/id_map.rs index 9a8083a..04f21f0 100644 --- a/reverie-process/src/id_map.rs +++ b/reverie-process/src/id_map.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::io::Write; pub fn make_id_map(map: &[(libc::uid_t, libc::uid_t, u32)]) -> Vec { diff --git a/reverie-process/src/lib.rs b/reverie-process/src/lib.rs index 0b166cb..855babf 100644 --- a/reverie-process/src/lib.rs +++ b/reverie-process/src/lib.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/mount.rs b/reverie-process/src/mount.rs index ff41d7d..66e4ffb 100644 --- a/reverie-process/src/mount.rs +++ b/reverie-process/src/mount.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::convert::Infallible; use core::fmt; use core::ptr; diff --git a/reverie-process/src/namespace.rs b/reverie-process/src/namespace.rs index 5c30a79..3ee0f3b 100644 --- a/reverie-process/src/namespace.rs +++ b/reverie-process/src/namespace.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/net.rs b/reverie-process/src/net.rs index 2f2bbcf..3e6fe9b 100644 --- a/reverie-process/src/net.rs +++ b/reverie-process/src/net.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/pid.rs b/reverie-process/src/pid.rs index 609ebde..8a57cd7 100644 --- a/reverie-process/src/pid.rs +++ b/reverie-process/src/pid.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use core::hash::Hash; diff --git a/reverie-process/src/pty.rs b/reverie-process/src/pty.rs index 62eb28f..09b66f6 100644 --- a/reverie-process/src/pty.rs +++ b/reverie-process/src/pty.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::mem::MaybeUninit; use core::pin::Pin; use core::task::Context; diff --git a/reverie-process/src/seccomp/bpf.rs b/reverie-process/src/seccomp/bpf.rs index af66eb8..0da0077 100644 --- a/reverie-process/src/seccomp/bpf.rs +++ b/reverie-process/src/seccomp/bpf.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/seccomp/mod.rs b/reverie-process/src/seccomp/mod.rs index c30c497..f0452e0 100644 --- a/reverie-process/src/seccomp/mod.rs +++ b/reverie-process/src/seccomp/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/seccomp/notif.rs b/reverie-process/src/seccomp/notif.rs index 1a47b6f..f5f9ec6 100644 --- a/reverie-process/src/seccomp/notif.rs +++ b/reverie-process/src/seccomp/notif.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-process/src/spawn.rs b/reverie-process/src/spawn.rs index fad8816..57432d0 100644 --- a/reverie-process/src/spawn.rs +++ b/reverie-process/src/spawn.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::io; use std::io::Write; diff --git a/reverie-process/src/stdio.rs b/reverie-process/src/stdio.rs index 233f433..b7c076b 100644 --- a/reverie-process/src/stdio.rs +++ b/reverie-process/src/stdio.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::pin::Pin; use core::task::Context; use core::task::Poll; diff --git a/reverie-process/src/util.rs b/reverie-process/src/util.rs index cb39423..6fef9d2 100644 --- a/reverie-process/src/util.rs +++ b/reverie-process/src/util.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::ffi::CStr; use std::ffi::CString; use std::ffi::OsStr; diff --git a/reverie-ptrace/src/children.rs b/reverie-ptrace/src/children.rs index 8eb7790..b22ece8 100644 --- a/reverie-ptrace/src/children.rs +++ b/reverie-ptrace/src/children.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::future::Future; use std::mem; use std::pin::Pin; diff --git a/reverie-ptrace/src/cp/consts.rs b/reverie-ptrace/src/cp/consts.rs index d174a7a..fef9538 100644 --- a/reverie-ptrace/src/cp/consts.rs +++ b/reverie-ptrace/src/cp/consts.rs @@ -1,10 +1,5 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. - * + * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/cp/mmap.rs b/reverie-ptrace/src/cp/mmap.rs index 9f2532b..ff3083f 100644 --- a/reverie-ptrace/src/cp/mmap.rs +++ b/reverie-ptrace/src/cp/mmap.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/cp/mod.rs b/reverie-ptrace/src/cp/mod.rs index d0e23db..d75fb71 100644 --- a/reverie-ptrace/src/cp/mod.rs +++ b/reverie-ptrace/src/cp/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/debug.rs b/reverie-ptrace/src/debug.rs index 7bd0cdd..af52a4c 100644 --- a/reverie-ptrace/src/debug.rs +++ b/reverie-ptrace/src/debug.rs @@ -1,14 +1,9 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. */ //! convenient functions for debugging tracees diff --git a/reverie-ptrace/src/error.rs b/reverie-ptrace/src/error.rs index be83f9d..16fe66b 100644 --- a/reverie-ptrace/src/error.rs +++ b/reverie-ptrace/src/error.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/breakpoint.rs b/reverie-ptrace/src/gdbstub/breakpoint.rs index d90e1cd..f1175af 100644 --- a/reverie-ptrace/src/gdbstub/breakpoint.rs +++ b/reverie-ptrace/src/gdbstub/breakpoint.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_QStartNoAckMode.rs b/reverie-ptrace/src/gdbstub/commands/base/_QStartNoAckMode.rs index dc8fc6d..8469168 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_QStartNoAckMode.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_QStartNoAckMode.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_QThreadEvents.rs b/reverie-ptrace/src/gdbstub/commands/base/_QThreadEvents.rs index 59acc11..db5d862 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_QThreadEvents.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_QThreadEvents.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_QuestionMark.rs b/reverie-ptrace/src/gdbstub/commands/base/_QuestionMark.rs index f5d318f..739f0bc 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_QuestionMark.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_QuestionMark.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_c.rs b/reverie-ptrace/src/gdbstub/commands/base/_c.rs index f29bc2a..030bf73 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_c.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_c.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_d_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_d_upper.rs index 749ec32..4805976 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_d_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_d_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_g.rs b/reverie-ptrace/src/gdbstub/commands/base/_g.rs index a5bd151..45958f8 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_g.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_g.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_g_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_g_upper.rs index c1238be..1b683a3 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_g_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_g_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_h_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_h_upper.rs index cfc3f15..c18259e 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_h_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_h_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_k.rs b/reverie-ptrace/src/gdbstub/commands/base/_k.rs index e40adb7..b2bed03 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_k.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_k.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_m.rs b/reverie-ptrace/src/gdbstub/commands/base/_m.rs index 4b1cf2b..a342e32 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_m.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_m.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_m_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_m_upper.rs index fd4e00d..831a3de 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_m_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_m_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_p.rs b/reverie-ptrace/src/gdbstub/commands/base/_p.rs index 0354b42..dda1bc0 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_p.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_p.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_p_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_p_upper.rs index a61df32..740cc3c 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_p_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_p_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qAttached.rs b/reverie-ptrace/src/gdbstub/commands/base/_qAttached.rs index 058f3f7..73a0a23 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qAttached.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qAttached.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qC.rs b/reverie-ptrace/src/gdbstub/commands/base/_qC.rs index a6ccdfc..efad048 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qC.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qC.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qSupported.rs b/reverie-ptrace/src/gdbstub/commands/base/_qSupported.rs index 5fe7346..8a20f08 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qSupported.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qSupported.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qXfer.rs b/reverie-ptrace/src/gdbstub/commands/base/_qXfer.rs index 1503e9b..ad6e108 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qXfer.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qXfer.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qfThreadInfo.rs b/reverie-ptrace/src/gdbstub/commands/base/_qfThreadInfo.rs index d051851..3135397 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qfThreadInfo.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qfThreadInfo.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_qsThreadInfo.rs b/reverie-ptrace/src/gdbstub/commands/base/_qsThreadInfo.rs index df7e3ef..6fd7df6 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_qsThreadInfo.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_qsThreadInfo.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_s.rs b/reverie-ptrace/src/gdbstub/commands/base/_s.rs index 0a99fb7..a1dc2ae 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_s.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_s.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_t_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_t_upper.rs index aa1bfba..f179b49 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_t_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_t_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_vCont.rs b/reverie-ptrace/src/gdbstub/commands/base/_vCont.rs index 9e1fcf5..6c81034 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_vCont.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_vCont.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_vFile.rs b/reverie-ptrace/src/gdbstub/commands/base/_vFile.rs index 47c5c1e..5802b36 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_vFile.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_vFile.rs @@ -1,9 +1,8 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * - * This source code is licensed under the BSDstyle license found in the + * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ diff --git a/reverie-ptrace/src/gdbstub/commands/base/_vKill.rs b/reverie-ptrace/src/gdbstub/commands/base/_vKill.rs index 5943a81..91dcf33 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_vKill.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_vKill.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_x_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_x_upper.rs index 4dee89d..67445c4 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_x_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_x_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_z.rs b/reverie-ptrace/src/gdbstub/commands/base/_z.rs index b0ecefe..2167f48 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_z.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_z.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/_z_upper.rs b/reverie-ptrace/src/gdbstub/commands/base/_z_upper.rs index e7523ed..a4efe60 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/_z_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/_z_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/base/mod.rs b/reverie-ptrace/src/gdbstub/commands/base/mod.rs index 3735db5..fd5e13a 100644 --- a/reverie-ptrace/src/gdbstub/commands/base/mod.rs +++ b/reverie-ptrace/src/gdbstub/commands/base/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_ExclamationMark.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_ExclamationMark.rs index aaf9c93..a4b2662 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_ExclamationMark.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_ExclamationMark.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QDisableRandomization.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QDisableRandomization.rs index c61f43c..e03a46d 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QDisableRandomization.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QDisableRandomization.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentHexEncoded.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentHexEncoded.rs index 271d1b4..c99c609 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentHexEncoded.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentHexEncoded.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentReset.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentReset.rs index 4c82b76..93d6252 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentReset.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentReset.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentUnset.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentUnset.rs index 2549081..8b2e760 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentUnset.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QEnvironmentUnset.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QSetWorkingDir.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QSetWorkingDir.rs index 287fdfe..485d41e 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QSetWorkingDir.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QSetWorkingDir.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QStartupWithShell.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QStartupWithShell.rs index 067cc63..1175802 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_QStartupWithShell.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_QStartupWithShell.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_r_upper.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_r_upper.rs index 54b7de7..1f59eb2 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_r_upper.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_r_upper.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_vAttach.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_vAttach.rs index b9fddfe..4cecea8 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_vAttach.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_vAttach.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/_vRun.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/_vRun.rs index c519a99..b173301 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/_vRun.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/_vRun.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/extended_mode/mod.rs b/reverie-ptrace/src/gdbstub/commands/extended_mode/mod.rs index 1fa1cb0..4a88112 100644 --- a/reverie-ptrace/src/gdbstub/commands/extended_mode/mod.rs +++ b/reverie-ptrace/src/gdbstub/commands/extended_mode/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/mod.rs b/reverie-ptrace/src/gdbstub/commands/mod.rs index 97c1398..9b8da7d 100644 --- a/reverie-ptrace/src/gdbstub/commands/mod.rs +++ b/reverie-ptrace/src/gdbstub/commands/mod.rs @@ -1,12 +1,4 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - +// @lint-ignore LICENSELINT /* * MIT License * diff --git a/reverie-ptrace/src/gdbstub/commands/monitor_cmd/_qRcmd.rs b/reverie-ptrace/src/gdbstub/commands/monitor_cmd/_qRcmd.rs index c36ef50..f05346e 100644 --- a/reverie-ptrace/src/gdbstub/commands/monitor_cmd/_qRcmd.rs +++ b/reverie-ptrace/src/gdbstub/commands/monitor_cmd/_qRcmd.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/monitor_cmd/mod.rs b/reverie-ptrace/src/gdbstub/commands/monitor_cmd/mod.rs index b533f8f..124f2a7 100644 --- a/reverie-ptrace/src/gdbstub/commands/monitor_cmd/mod.rs +++ b/reverie-ptrace/src/gdbstub/commands/monitor_cmd/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/section_offsets/_qOffsets.rs b/reverie-ptrace/src/gdbstub/commands/section_offsets/_qOffsets.rs index 61c2725..5cd88dc 100644 --- a/reverie-ptrace/src/gdbstub/commands/section_offsets/_qOffsets.rs +++ b/reverie-ptrace/src/gdbstub/commands/section_offsets/_qOffsets.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/commands/section_offsets/mod.rs b/reverie-ptrace/src/gdbstub/commands/section_offsets/mod.rs index cf0f3e1..80c4704 100644 --- a/reverie-ptrace/src/gdbstub/commands/section_offsets/mod.rs +++ b/reverie-ptrace/src/gdbstub/commands/section_offsets/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/error.rs b/reverie-ptrace/src/gdbstub/error.rs index c42f761..975d073 100644 --- a/reverie-ptrace/src/gdbstub/error.rs +++ b/reverie-ptrace/src/gdbstub/error.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/hex.rs b/reverie-ptrace/src/gdbstub/hex.rs index 80f5d3e..2fc17cd 100644 --- a/reverie-ptrace/src/gdbstub/hex.rs +++ b/reverie-ptrace/src/gdbstub/hex.rs @@ -1,12 +1,4 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - +// @lint-ignore LICENSELINT /* * MIT License * diff --git a/reverie-ptrace/src/gdbstub/inferior.rs b/reverie-ptrace/src/gdbstub/inferior.rs index e35a93b..69e4bf1 100644 --- a/reverie-ptrace/src/gdbstub/inferior.rs +++ b/reverie-ptrace/src/gdbstub/inferior.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/logger.rs b/reverie-ptrace/src/gdbstub/logger.rs index 07929f1..a5f89a1 100644 --- a/reverie-ptrace/src/gdbstub/logger.rs +++ b/reverie-ptrace/src/gdbstub/logger.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/mod.rs b/reverie-ptrace/src/gdbstub/mod.rs index 7ca9084..6922c19 100644 --- a/reverie-ptrace/src/gdbstub/mod.rs +++ b/reverie-ptrace/src/gdbstub/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/packet.rs b/reverie-ptrace/src/gdbstub/packet.rs index 3eaf4cf..82b9543 100644 --- a/reverie-ptrace/src/gdbstub/packet.rs +++ b/reverie-ptrace/src/gdbstub/packet.rs @@ -1,12 +1,4 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - +// @lint-ignore LICENSELINT /* * MIT License * diff --git a/reverie-ptrace/src/gdbstub/regs.rs b/reverie-ptrace/src/gdbstub/regs.rs index 5401376..1e645b6 100644 --- a/reverie-ptrace/src/gdbstub/regs.rs +++ b/reverie-ptrace/src/gdbstub/regs.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/request.rs b/reverie-ptrace/src/gdbstub/request.rs index 59943e5..3b2ba3e 100644 --- a/reverie-ptrace/src/gdbstub/request.rs +++ b/reverie-ptrace/src/gdbstub/request.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/response.rs b/reverie-ptrace/src/gdbstub/response.rs index af6f911..a8da1f3 100644 --- a/reverie-ptrace/src/gdbstub/response.rs +++ b/reverie-ptrace/src/gdbstub/response.rs @@ -1,12 +1,4 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - +// @lint-ignore LICENSELINT /* * MIT License * diff --git a/reverie-ptrace/src/gdbstub/server.rs b/reverie-ptrace/src/gdbstub/server.rs index 9e5539d..d6b1a65 100644 --- a/reverie-ptrace/src/gdbstub/server.rs +++ b/reverie-ptrace/src/gdbstub/server.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/gdbstub/session.rs b/reverie-ptrace/src/gdbstub/session.rs index d1c79c6..8fda130 100644 --- a/reverie-ptrace/src/gdbstub/session.rs +++ b/reverie-ptrace/src/gdbstub/session.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/lib.rs b/reverie-ptrace/src/lib.rs index 4f4df79..2dc190e 100644 --- a/reverie-ptrace/src/lib.rs +++ b/reverie-ptrace/src/lib.rs @@ -1,10 +1,5 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. - * + * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/perf.rs b/reverie-ptrace/src/perf.rs index 38434df..232ea29 100644 --- a/reverie-ptrace/src/perf.rs +++ b/reverie-ptrace/src/perf.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/regs.rs b/reverie-ptrace/src/regs.rs index 6dd9aac..0f558bf 100644 --- a/reverie-ptrace/src/regs.rs +++ b/reverie-ptrace/src/regs.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/stack.rs b/reverie-ptrace/src/stack.rs index 54ddfab..99c3822 100644 --- a/reverie-ptrace/src/stack.rs +++ b/reverie-ptrace/src/stack.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::sync::atomic::AtomicBool; use std::sync::atomic::Ordering; use std::sync::Arc; diff --git a/reverie-ptrace/src/task.rs b/reverie-ptrace/src/task.rs index 69567b0..b874786 100644 --- a/reverie-ptrace/src/task.rs +++ b/reverie-ptrace/src/task.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/testing.rs b/reverie-ptrace/src/testing.rs index 643497c..c2c9eee 100644 --- a/reverie-ptrace/src/testing.rs +++ b/reverie-ptrace/src/testing.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/timer.rs b/reverie-ptrace/src/timer.rs index 3ff6f4b..7aa102d 100644 --- a/reverie-ptrace/src/timer.rs +++ b/reverie-ptrace/src/timer.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/tracer.rs b/reverie-ptrace/src/tracer.rs index abc32e1..59daf18 100644 --- a/reverie-ptrace/src/tracer.rs +++ b/reverie-ptrace/src/tracer.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/validation.rs b/reverie-ptrace/src/validation.rs index cd1ef42..003afd2 100644 --- a/reverie-ptrace/src/validation.rs +++ b/reverie-ptrace/src/validation.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-ptrace/src/vdso.rs b/reverie-ptrace/src/vdso.rs index fcb8009..7f5b5fd 100644 --- a/reverie-ptrace/src/vdso.rs +++ b/reverie-ptrace/src/vdso.rs @@ -1,10 +1,5 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. - * + * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/clone.rs b/reverie-syscalls/src/args/clone.rs index 9a9d6ef..0f05f9e 100644 --- a/reverie-syscalls/src/args/clone.rs +++ b/reverie-syscalls/src/args/clone.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use serde::Deserialize; diff --git a/reverie-syscalls/src/args/fcntl.rs b/reverie-syscalls/src/args/fcntl.rs index e249d7f..cf35e85 100644 --- a/reverie-syscalls/src/args/fcntl.rs +++ b/reverie-syscalls/src/args/fcntl.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/ioctl.rs b/reverie-syscalls/src/args/ioctl.rs index 4995723..ae92203 100644 --- a/reverie-syscalls/src/args/ioctl.rs +++ b/reverie-syscalls/src/args/ioctl.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/mod.rs b/reverie-syscalls/src/args/mod.rs index 61f2f06..ad48c01 100644 --- a/reverie-syscalls/src/args/mod.rs +++ b/reverie-syscalls/src/args/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/poll.rs b/reverie-syscalls/src/args/poll.rs index 871b200..54300c2 100644 --- a/reverie-syscalls/src/args/poll.rs +++ b/reverie-syscalls/src/args/poll.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/stat.rs b/reverie-syscalls/src/args/stat.rs index 2aa355c..ec407e5 100644 --- a/reverie-syscalls/src/args/stat.rs +++ b/reverie-syscalls/src/args/stat.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/sysinfo.rs b/reverie-syscalls/src/args/sysinfo.rs index d177d86..fe23250 100644 --- a/reverie-syscalls/src/args/sysinfo.rs +++ b/reverie-syscalls/src/args/sysinfo.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/args/time.rs b/reverie-syscalls/src/args/time.rs index 8831b05..2149378 100644 --- a/reverie-syscalls/src/args/time.rs +++ b/reverie-syscalls/src/args/time.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/display.rs b/reverie-syscalls/src/display.rs index 7050703..22ec4e1 100644 --- a/reverie-syscalls/src/display.rs +++ b/reverie-syscalls/src/display.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use nix::fcntl::AtFlags; diff --git a/reverie-syscalls/src/lib.rs b/reverie-syscalls/src/lib.rs index dc3579d..1f431e8 100644 --- a/reverie-syscalls/src/lib.rs +++ b/reverie-syscalls/src/lib.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/macros.rs b/reverie-syscalls/src/macros.rs index f62405e..d4fc831 100644 --- a/reverie-syscalls/src/macros.rs +++ b/reverie-syscalls/src/macros.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/memory/addr.rs b/reverie-syscalls/src/memory/addr.rs index 35e3c23..1114f5c 100644 --- a/reverie-syscalls/src/memory/addr.rs +++ b/reverie-syscalls/src/memory/addr.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::fmt; use core::marker::PhantomData; use core::ptr::NonNull; diff --git a/reverie-syscalls/src/memory/local.rs b/reverie-syscalls/src/memory/local.rs index e70db33..d17ae45 100644 --- a/reverie-syscalls/src/memory/local.rs +++ b/reverie-syscalls/src/memory/local.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/memory/mod.rs b/reverie-syscalls/src/memory/mod.rs index d5eb63d..4724a8a 100644 --- a/reverie-syscalls/src/memory/mod.rs +++ b/reverie-syscalls/src/memory/mod.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + mod addr; mod local; diff --git a/reverie-syscalls/src/raw.rs b/reverie-syscalls/src/raw.rs index 3af4ca3..408c1e7 100644 --- a/reverie-syscalls/src/raw.rs +++ b/reverie-syscalls/src/raw.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/syscalls/family.rs b/reverie-syscalls/src/syscalls/family.rs index 89b9882..5c55d53 100644 --- a/reverie-syscalls/src/syscalls/family.rs +++ b/reverie-syscalls/src/syscalls/family.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-syscalls/src/syscalls/mod.rs b/reverie-syscalls/src/syscalls/mod.rs index e83909c..ddbf4a9 100644 --- a/reverie-syscalls/src/syscalls/mod.rs +++ b/reverie-syscalls/src/syscalls/mod.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-util/src/commandline.rs b/reverie-util/src/commandline.rs index f7fa781..4f8985d 100644 --- a/reverie-util/src/commandline.rs +++ b/reverie-util/src/commandline.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-util/src/lib.rs b/reverie-util/src/lib.rs index 7edcae0..8838faa 100644 --- a/reverie-util/src/lib.rs +++ b/reverie-util/src/lib.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie-util/src/pedigree.rs b/reverie-util/src/pedigree.rs index af98288..a747797 100644 --- a/reverie-util/src/pedigree.rs +++ b/reverie-util/src/pedigree.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie/src/auxv.rs b/reverie/src/auxv.rs index 8ce654b..b47eb17 100644 --- a/reverie/src/auxv.rs +++ b/reverie/src/auxv.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::collections::BTreeMap; use std::fs; use std::io; diff --git a/reverie/src/backtrace/cache.rs b/reverie/src/backtrace/cache.rs index ce42d9a..6528a06 100644 --- a/reverie/src/backtrace/cache.rs +++ b/reverie/src/backtrace/cache.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::sync::Arc; use std::sync::Mutex; use std::sync::MutexGuard; diff --git a/reverie/src/backtrace/library.rs b/reverie/src/backtrace/library.rs index 39ce35a..e857312 100644 --- a/reverie/src/backtrace/library.rs +++ b/reverie/src/backtrace/library.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::path::PathBuf; use super::Pid; diff --git a/reverie/src/backtrace/mod.rs b/reverie/src/backtrace/mod.rs index bf704fc..a8677dd 100644 --- a/reverie/src/backtrace/mod.rs +++ b/reverie/src/backtrace/mod.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + mod cache; mod library; mod symbols; diff --git a/reverie/src/backtrace/symbols.rs b/reverie/src/backtrace/symbols.rs index c8ef627..410ea5c 100644 --- a/reverie/src/backtrace/symbols.rs +++ b/reverie/src/backtrace/symbols.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::borrow::Cow; use std::fs::File; use std::path::Path; diff --git a/reverie/src/error.rs b/reverie/src/error.rs index 123372c..22e9dda 100644 --- a/reverie/src/error.rs +++ b/reverie/src/error.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie/src/guest.rs b/reverie/src/guest.rs index e5414b0..8c7ad7b 100644 --- a/reverie/src/guest.rs +++ b/reverie/src/guest.rs @@ -1,14 +1,9 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. */ //! Guest (i.e. thread) structure and traits diff --git a/reverie/src/lib.rs b/reverie/src/lib.rs index 564ecdd..80c43ad 100644 --- a/reverie/src/lib.rs +++ b/reverie/src/lib.rs @@ -1,14 +1,9 @@ /* - * Copyright (c) 2018-2019, Trustees of Indiana University - * ("University Works" via Baojun Wang) - * Copyright (c) 2018-2019, Ryan Newton - * ("Traditional Works of Scholarship") - * Copyright (c) 2020-, Meta Platforms, Inc. and affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. * - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. */ #![doc = include_str!("../../README.md")] diff --git a/reverie/src/rdtsc.rs b/reverie/src/rdtsc.rs index 85d992d..4d741fe 100644 --- a/reverie/src/rdtsc.rs +++ b/reverie/src/rdtsc.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie/src/stack.rs b/reverie/src/stack.rs index 960dcdb..1ef8c6d 100644 --- a/reverie/src/stack.rs +++ b/reverie/src/stack.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie/src/subscription.rs b/reverie/src/subscription.rs index 1369aa0..e29e252 100644 --- a/reverie/src/subscription.rs +++ b/reverie/src/subscription.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use bitflags::bitflags; use reverie_syscalls::Sysno; use syscalls::SysnoSet; diff --git a/reverie/src/timer.rs b/reverie/src/timer.rs index 8811694..c1465e0 100644 --- a/reverie/src/timer.rs +++ b/reverie/src/timer.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/reverie/src/tool.rs b/reverie/src/tool.rs index d492b3d..c694c20 100644 --- a/reverie/src/tool.rs +++ b/reverie/src/tool.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/safeptrace/src/lib.rs b/safeptrace/src/lib.rs index b2fedcc..1c1dfe4 100644 --- a/safeptrace/src/lib.rs +++ b/safeptrace/src/lib.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/safeptrace/src/memory.rs b/safeptrace/src/memory.rs index 0df37e4..3b4c03d 100644 --- a/safeptrace/src/memory.rs +++ b/safeptrace/src/memory.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use core::mem; use std::io; diff --git a/safeptrace/src/notifier.rs b/safeptrace/src/notifier.rs index 613d248..7bb1e20 100644 --- a/safeptrace/src/notifier.rs +++ b/safeptrace/src/notifier.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/safeptrace/src/regs.rs b/safeptrace/src/regs.rs index 39fafda..ea1db2e 100644 --- a/safeptrace/src/regs.rs +++ b/safeptrace/src/regs.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/safeptrace/src/waitid.rs b/safeptrace/src/waitid.rs index 00cab26..66112c1 100644 --- a/safeptrace/src/waitid.rs +++ b/safeptrace/src/waitid.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/backtrace.rs b/tests/backtrace.rs index c7d42d3..382fc22 100644 --- a/tests/backtrace.rs +++ b/tests/backtrace.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/basics.rs b/tests/basics.rs index 9080cd5..25a77c4 100644 --- a/tests/basics.rs +++ b/tests/basics.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #![cfg_attr(feature = "llvm_asm", feature(llvm_asm))] //! Basic tests that don't fall into some other category. diff --git a/tests/busywait.rs b/tests/busywait.rs index 97f3f5d..9ffe622 100644 --- a/tests/busywait.rs +++ b/tests/busywait.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/cc_no_shlib.sh b/tests/c_tests/cc_no_shlib.sh index 288ad60..25ca082 100755 --- a/tests/c_tests/cc_no_shlib.sh +++ b/tests/c_tests/cc_no_shlib.sh @@ -1,6 +1,5 @@ #!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. -# # All rights reserved. # # This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/clock-nanosleep.c b/tests/c_tests/clock-nanosleep.c index c9f360b..de6ca29 100644 --- a/tests/c_tests/clock-nanosleep.c +++ b/tests/c_tests/clock-nanosleep.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/forkExec.c b/tests/c_tests/forkExec.c index 3c2e475..d160534 100644 --- a/tests/c_tests/forkExec.c +++ b/tests/c_tests/forkExec.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/forkMany-blockSigchld.c b/tests/c_tests/forkMany-blockSigchld.c index 38af499..97db214 100644 --- a/tests/c_tests/forkMany-blockSigchld.c +++ b/tests/c_tests/forkMany-blockSigchld.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/forkMany.c b/tests/c_tests/forkMany.c index c5299b8..5f7e72d 100644 --- a/tests/c_tests/forkMany.c +++ b/tests/c_tests/forkMany.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/forkNoWait.c b/tests/c_tests/forkNoWait.c index 030cfa4..2722175 100644 --- a/tests/c_tests/forkNoWait.c +++ b/tests/c_tests/forkNoWait.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/getpid-pie.c b/tests/c_tests/getpid-pie.c index aa61554..67147fd 100644 --- a/tests/c_tests/getpid-pie.c +++ b/tests/c_tests/getpid-pie.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/getpid.c b/tests/c_tests/getpid.c index e6700ba..a1a8442 100644 --- a/tests/c_tests/getpid.c +++ b/tests/c_tests/getpid.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/nanosleep.c b/tests/c_tests/nanosleep.c index ba40db6..844f1cb 100644 --- a/tests/c_tests/nanosleep.c +++ b/tests/c_tests/nanosleep.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/open-many.c b/tests/c_tests/open-many.c index 1d6107c..7c17e6f 100644 --- a/tests/c_tests/open-many.c +++ b/tests/c_tests/open-many.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/openat1.c b/tests/c_tests/openat1.c index b95e482..d72237d 100644 --- a/tests/c_tests/openat1.c +++ b/tests/c_tests/openat1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/signal1.c b/tests/c_tests/signal1.c index 3965810..c9e9eb0 100644 --- a/tests/c_tests/signal1.c +++ b/tests/c_tests/signal1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/signal2.c b/tests/c_tests/signal2.c index bca94a2..231e02f 100644 --- a/tests/c_tests/signal2.c +++ b/tests/c_tests/signal2.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/signal3.c b/tests/c_tests/signal3.c index 7871d65..caaba7e 100644 --- a/tests/c_tests/signal3.c +++ b/tests/c_tests/signal3.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/sigprocmask1.c b/tests/c_tests/sigprocmask1.c index d231031..f9a6745 100644 --- a/tests/c_tests/sigprocmask1.c +++ b/tests/c_tests/sigprocmask1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/thread8-cond-wait.c b/tests/c_tests/thread8-cond-wait.c index de38028..5188b3c 100644 --- a/tests/c_tests/thread8-cond-wait.c +++ b/tests/c_tests/thread8-cond-wait.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/thread9-cond-bcast.c b/tests/c_tests/thread9-cond-bcast.c index 54ab0ae..b2e3dd4 100644 --- a/tests/c_tests/thread9-cond-bcast.c +++ b/tests/c_tests/thread9-cond-bcast.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads1.c b/tests/c_tests/threads1.c index 215bcca..cdca9cd 100644 --- a/tests/c_tests/threads1.c +++ b/tests/c_tests/threads1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads2.c b/tests/c_tests/threads2.c index 2069909..47da7bb 100644 --- a/tests/c_tests/threads2.c +++ b/tests/c_tests/threads2.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads3.c b/tests/c_tests/threads3.c index ef9dcc0..678dd8b 100644 --- a/tests/c_tests/threads3.c +++ b/tests/c_tests/threads3.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads4.c b/tests/c_tests/threads4.c index d05bfb5..2db4647 100644 --- a/tests/c_tests/threads4.c +++ b/tests/c_tests/threads4.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads5.c b/tests/c_tests/threads5.c index dfc34af..ed40cdc 100644 --- a/tests/c_tests/threads5.c +++ b/tests/c_tests/threads5.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads6.c b/tests/c_tests/threads6.c index 798a63d..c834c4a 100644 --- a/tests/c_tests/threads6.c +++ b/tests/c_tests/threads6.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/threads_dual_exit.c b/tests/c_tests/threads_dual_exit.c index 72b4b13..72089b9 100644 --- a/tests/c_tests/threads_dual_exit.c +++ b/tests/c_tests/threads_dual_exit.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/threads_exit_group.c b/tests/c_tests/threads_exit_group.c index c9d75d5..37348b7 100644 --- a/tests/c_tests/threads_exit_group.c +++ b/tests/c_tests/threads_exit_group.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/threads_exit_mixed.c b/tests/c_tests/threads_exit_mixed.c index 5e2ab8c..44b5459 100644 --- a/tests/c_tests/threads_exit_mixed.c +++ b/tests/c_tests/threads_exit_mixed.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/threads_group_exit_blocking.c b/tests/c_tests/threads_group_exit_blocking.c index f5936ac..d23b724 100644 --- a/tests/c_tests/threads_group_exit_blocking.c +++ b/tests/c_tests/threads_group_exit_blocking.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/threads_group_exit_stress.c b/tests/c_tests/threads_group_exit_stress.c index b7100cc..3481361 100644 --- a/tests/c_tests/threads_group_exit_stress.c +++ b/tests/c_tests/threads_group_exit_stress.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/c_tests/vforkExec.c b/tests/c_tests/vforkExec.c index 51accac..00b2bd2 100644 --- a/tests/c_tests/vforkExec.c +++ b/tests/c_tests/vforkExec.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/c_tests/write-many.c b/tests/c_tests/write-many.c index e841130..a7f0030 100644 --- a/tests/c_tests/write-many.c +++ b/tests/c_tests/write-many.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include diff --git a/tests/convert.rs b/tests/convert.rs index 7ad6913..070d586 100644 --- a/tests/convert.rs +++ b/tests/convert.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #![cfg_attr(feature = "llvm_asm", feature(llvm_asm))] // when we convert syscall, such as open -> openat, the old syscall diff --git a/tests/cpuid.rs b/tests/cpuid.rs index 40bdbca..ea53a4c 100644 --- a/tests/cpuid.rs +++ b/tests/cpuid.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/delay_signal.rs b/tests/delay_signal.rs index d399d52..128124d 100644 --- a/tests/delay_signal.rs +++ b/tests/delay_signal.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/disabled/segfault.c b/tests/disabled/segfault.c index 4409963..729cc45 100644 --- a/tests/disabled/segfault.c +++ b/tests/disabled/segfault.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include int main(int argc, char* argv[]) { diff --git a/tests/disabled/signal4.c b/tests/disabled/signal4.c index 64f8ac7..47e749d 100644 --- a/tests/disabled/signal4.c +++ b/tests/disabled/signal4.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/disabled/threads7.c b/tests/disabled/threads7.c index ab6f5df..821c05b 100644 --- a/tests/disabled/threads7.c +++ b/tests/disabled/threads7.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/disabled/x64-save-return-address.c b/tests/disabled/x64-save-return-address.c index f2fdc00..b7e18f7 100644 --- a/tests/disabled/x64-save-return-address.c +++ b/tests/disabled/x64-save-return-address.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/exit.rs b/tests/exit.rs index 2013cf2..b6b2d97 100644 --- a/tests/exit.rs +++ b/tests/exit.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/gdbserver-integration/gdbserver-helper/src/client.rs b/tests/gdbserver-integration/gdbserver-helper/src/client.rs index ce790ae..438d6cd 100644 --- a/tests/gdbserver-integration/gdbserver-helper/src/client.rs +++ b/tests/gdbserver-integration/gdbserver-helper/src/client.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/gdbserver-integration/gdbserver-helper/src/main.rs b/tests/gdbserver-integration/gdbserver-helper/src/main.rs index 1a72831..2e71a0b 100644 --- a/tests/gdbserver-integration/gdbserver-helper/src/main.rs +++ b/tests/gdbserver-integration/gdbserver-helper/src/main.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/gdbserver-integration/gdbserver-helper/src/server.rs b/tests/gdbserver-integration/gdbserver-helper/src/server.rs index e22de7a..e12a7df 100644 --- a/tests/gdbserver-integration/gdbserver-helper/src/server.rs +++ b/tests/gdbserver-integration/gdbserver-helper/src/server.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/gdbserver-integration/test-src/forkExec.c b/tests/gdbserver-integration/test-src/forkExec.c index 3c2e475..d160534 100644 --- a/tests/gdbserver-integration/test-src/forkExec.c +++ b/tests/gdbserver-integration/test-src/forkExec.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/gdbserver-integration/test-src/manyThreads.c b/tests/gdbserver-integration/test-src/manyThreads.c index be47aee..11dbbd8 100644 --- a/tests/gdbserver-integration/test-src/manyThreads.c +++ b/tests/gdbserver-integration/test-src/manyThreads.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/gdbserver-integration/test-src/nested.c b/tests/gdbserver-integration/test-src/nested.c index 1a6963f..8f6c9af 100644 --- a/tests/gdbserver-integration/test-src/nested.c +++ b/tests/gdbserver-integration/test-src/nested.c @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/gdbserver-integration/test-src/openat1.c b/tests/gdbserver-integration/test-src/openat1.c index bd8905c..6223c9c 100644 --- a/tests/gdbserver-integration/test-src/openat1.c +++ b/tests/gdbserver-integration/test-src/openat1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/gdbserver-integration/test-src/threads1.c b/tests/gdbserver-integration/test-src/threads1.c index f104701..88b54da 100644 --- a/tests/gdbserver-integration/test-src/threads1.c +++ b/tests/gdbserver-integration/test-src/threads1.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/gdbserver-integration/test-src/threads2.c b/tests/gdbserver-integration/test-src/threads2.c index 24ce4f9..c2736dd 100644 --- a/tests/gdbserver-integration/test-src/threads2.c +++ b/tests/gdbserver-integration/test-src/threads2.c @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/tests/parallelism.rs b/tests/parallelism.rs index 4316d45..7525ce2 100644 --- a/tests/parallelism.rs +++ b/tests/parallelism.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/rdtsc.rs b/tests/rdtsc.rs index 9d28aac..66e9c44 100644 --- a/tests/rdtsc.rs +++ b/tests/rdtsc.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/shell_tests/build-musl.sh b/tests/shell_tests/build-musl.sh index e7e34df..0ad0131 100755 --- a/tests/shell_tests/build-musl.sh +++ b/tests/shell_tests/build-musl.sh @@ -1,6 +1,5 @@ #!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. -# # All rights reserved. # # This source code is licensed under the BSD-style license found in the diff --git a/tests/signal.rs b/tests/signal.rs index f51a48d..c28ecc2 100644 --- a/tests/signal.rs +++ b/tests/signal.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/signalfd.rs b/tests/signalfd.rs index 3b382f8..bc3f99b 100644 --- a/tests/signalfd.rs +++ b/tests/signalfd.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/spinlock.rs b/tests/spinlock.rs index 27fb211..5497ad9 100644 --- a/tests/spinlock.rs +++ b/tests/spinlock.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/stack.rs b/tests/stack.rs index 08fb26a..a0f47ac 100644 --- a/tests/stack.rs +++ b/tests/stack.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/standalone/at_random.rs b/tests/standalone/at_random.rs index d153894..2afa18b 100644 --- a/tests/standalone/at_random.rs +++ b/tests/standalone/at_random.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::env; use reverie::syscalls::MemoryAccess; diff --git a/tests/standalone/inject_then_tail_inject.rs b/tests/standalone/inject_then_tail_inject.rs index 9da3626..b1ca2ec 100644 --- a/tests/standalone/inject_then_tail_inject.rs +++ b/tests/standalone/inject_then_tail_inject.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + use std::alloc; use std::env; use std::mem; diff --git a/tests/standalone/parallel_tasks.rs b/tests/standalone/parallel_tasks.rs index 06c0f35..68caec6 100644 --- a/tests/standalone/parallel_tasks.rs +++ b/tests/standalone/parallel_tasks.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #![feature(get_mut_unchecked)] #![feature(thread_id_value)] use std::env; diff --git a/tests/stat.rs b/tests/stat.rs index b189aa0..28f5c7f 100644 --- a/tests/stat.rs +++ b/tests/stat.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/state.rs b/tests/state.rs index 4a51808..9f5985b 100644 --- a/tests/state.rs +++ b/tests/state.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/thread_start.rs b/tests/thread_start.rs index 5d06ab9..69aaf2e 100644 --- a/tests/thread_start.rs +++ b/tests/thread_start.rs @@ -1,11 +1,11 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ + #![cfg(not(sanitized))] use reverie::syscalls; diff --git a/tests/timer_semantics.rs b/tests/timer_semantics.rs index 9e3fe0e..6363ea0 100644 --- a/tests/timer_semantics.rs +++ b/tests/timer_semantics.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/vdso.rs b/tests/vdso.rs index 17155a5..4dc9e4e 100644 --- a/tests/vdso.rs +++ b/tests/vdso.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/tests/vfork.rs b/tests/vfork.rs index 9603dec..d2c52b7 100644 --- a/tests/vfork.rs +++ b/tests/vfork.rs @@ -1,6 +1,5 @@ /* * Copyright (c) Meta Platforms, Inc. and affiliates. - * * All rights reserved. * * This source code is licensed under the BSD-style license found in the