mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
Everywhere: Fix more typos
This commit is contained in:
parent
4e86c34ef0
commit
bcfc6f0c57
57 changed files with 108 additions and 108 deletions
|
@ -62,7 +62,7 @@
|
|||
* - Time 6: PB1 forks into PB2
|
||||
* - Time 7: PB1 dies (PGB now has no leader)
|
||||
* - Time 8: PB2 calls pgrp(0, PGA)
|
||||
* Note: PB2 writes "1" (exploit successfull) or "0" (bug is fixed) to a pipe
|
||||
* Note: PB2 writes "1" (exploit successful) or "0" (bug is fixed) to a pipe
|
||||
* - Time 9: If PX hasn't received any message yet through the pipe, it declares the test as failed (for lack of knowledge). Otherwise, it outputs accordingly.
|
||||
*/
|
||||
|
||||
|
@ -246,7 +246,7 @@ static void run_pb2(void* pipe_fd_ptr)
|
|||
sleep_steps(2);
|
||||
|
||||
// Time 8: PB2 calls pgrp(0, PGA)
|
||||
// Note: PB2 writes "1" (exploit successfull) or "0" (bug is fixed) to a pipe
|
||||
// Note: PB2 writes "1" (exploit successful) or "0" (bug is fixed) to a pipe
|
||||
dbg() << "PB2 starts with SID=" << getsid(0) << ", PGID=" << getpgid(0) << ", PID=" << getpid() << ".";
|
||||
dbg() << "PB2 calls pgrp(0, PGA)";
|
||||
int pga = getpid() - 3;
|
||||
|
|
|
@ -47,8 +47,8 @@
|
|||
|
||||
class Mask {
|
||||
private:
|
||||
mode_t removal_mask; //the bits that will be removed
|
||||
mode_t applying_mask; //the bits that will be setted
|
||||
mode_t removal_mask; // the bits that will be removed
|
||||
mode_t applying_mask; // the bits that will be set
|
||||
|
||||
public:
|
||||
Mask()
|
||||
|
@ -129,7 +129,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
}
|
||||
|
||||
/* set the mask for each files' permissions */
|
||||
/* set the mask for each file's permissions */
|
||||
struct stat current_access;
|
||||
int i = 2;
|
||||
while (i < argc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue