File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ pub(crate) fn add_noexec_filter(command: &mut Command) -> SpawnNoexecHandler {
307
307
return Err ( io:: Error :: last_os_error ( ) ) ;
308
308
}
309
309
310
- // While the man page warns againt using seccomp_unotify as security
310
+ // While the man page warns against using seccomp_unotify as security
311
311
// mechanism, the TOCTOU problem that is described there isn't
312
312
// relevant here. We only SECCOMP_USER_NOTIF_FLAG_CONTINUE the first
313
313
// execve which is done by ourself and thus trusted.
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ impl SessionRecordFile {
216
216
}
217
217
218
218
/// Disable all records that match the given scope. If an auth user id is
219
- /// given then only records with the given scope that are targetting that
219
+ /// given then only records with the given scope that are targeting that
220
220
/// specific user will be disabled.
221
221
pub fn disable ( & mut self , scope : RecordScope , auth_user : Option < UserId > ) -> io:: Result < ( ) > {
222
222
let lock = FileLock :: exclusive ( & self . file , false ) ?;
You can’t perform that action at this time.
0 commit comments