protect.1 (828378a6d333ac1bc2ecdcef64d36b7720bd83fc) | protect.1 (9648f52cb9d3d5164cc514be688dc5947e42dc66) |
---|---|
1.\" Copyright (c) 2013 Advanced Computing Technologies LLC 2.\" Written by: John H. Baldwin <jhb@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 69 unchanged lines hidden (view full) --- 78Protect all ssh sessions and their child processes: 79.Pp 80.Dl "pgrep sshd | xargs protect -dip" 81.Pp 82Remove protection from all current and future processes: 83.Pp 84.Dl "protect -cdi -p 1" 85.Sh SEE ALSO | 1.\" Copyright (c) 2013 Advanced Computing Technologies LLC 2.\" Written by: John H. Baldwin <jhb@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 69 unchanged lines hidden (view full) --- 78Protect all ssh sessions and their child processes: 79.Pp 80.Dl "pgrep sshd | xargs protect -dip" 81.Pp 82Remove protection from all current and future processes: 83.Pp 84.Dl "protect -cdi -p 1" 85.Sh SEE ALSO |
86.Xr pprotect 2 | 86.Xr procctl 2 |
87.Sh BUGS 88If you protect a runaway process that allocates all memory the system will 89deadlock. | 87.Sh BUGS 88If you protect a runaway process that allocates all memory the system will 89deadlock. |
90.Pp 91Inheritance of the protected state is not yet implemented. | |