equal
deleted
inserted
replaced
263 (PrivilegedExceptionAction<RandomAccessFile>) () -> new RandomAccessFile(deny_ptrace, "r"))) { |
263 (PrivilegedExceptionAction<RandomAccessFile>) () -> new RandomAccessFile(deny_ptrace, "r"))) { |
264 if (file.readByte() != '0') { |
264 if (file.readByte() != '0') { |
265 return false; |
265 return false; |
266 } |
266 } |
267 } catch (PrivilegedActionException e) { |
267 } catch (PrivilegedActionException e) { |
268 @SuppressWarnings("unchecked") |
|
269 IOException t = (IOException) e.getException(); |
268 IOException t = (IOException) e.getException(); |
270 throw t; |
269 throw t; |
271 } |
270 } |
272 } |
271 } |
273 |
272 |
287 |
286 |
288 if (!userName.equals("root") && yama_scope != '0') { |
287 if (!userName.equals("root") && yama_scope != '0') { |
289 return false; |
288 return false; |
290 } |
289 } |
291 } catch (PrivilegedActionException e) { |
290 } catch (PrivilegedActionException e) { |
292 @SuppressWarnings("unchecked") |
|
293 IOException t = (IOException) e.getException(); |
291 IOException t = (IOException) e.getException(); |
294 throw t; |
292 throw t; |
295 } |
293 } |
296 } |
294 } |
297 // Otherwise expect to be permitted: |
295 // Otherwise expect to be permitted: |