mirror of https://github.com/tLDP/LDP
fix minor typos in lki.sgml
This commit is contained in:
parent
b751f88a79
commit
fe95f2517c
|
@ -3653,7 +3653,7 @@ determines why it was awakened, and how it should
|
|||
respond. The following cases are handled:
|
||||
|
||||
<itemize>
|
||||
<item> If the the semaphore set has been removed, then
|
||||
<item> If the semaphore set has been removed, then
|
||||
the system call fails with EIDRM.
|
||||
|
||||
<item> If the <tt>status</tt> element of the
|
||||
|
@ -4208,7 +4208,7 @@ the temporary buffer are copied out to user space by
|
|||
The user data is copied in via
|
||||
<ref id="copy_msqid_to_user" name="copy_msqid_to_user()">. The global
|
||||
message queue semaphore and spinlock are obtained and released
|
||||
at the end. After the the message queue ID and the current
|
||||
at the end. After the message queue ID and the current
|
||||
process access permissions are validated, the message queue
|
||||
information is updated with the user provided data. Later,
|
||||
<ref id="expunge_all" name="expunge_all()"> and
|
||||
|
@ -4754,7 +4754,7 @@ flag equals IPC_64, then copy_to_user() is invoked to copy from
|
|||
the kernel buffer to the user buffer directly. Otherwise a
|
||||
temporary buffer of type struct msqid_ds is initialized, and the
|
||||
kernel data is translated to this temporary buffer. Later
|
||||
copy_to_user() is called to copy the contents of the the temporary
|
||||
copy_to_user() is called to copy the contents of the temporary
|
||||
buffer to the user buffer.
|
||||
</sect3>
|
||||
|
||||
|
@ -5163,7 +5163,7 @@ spinlock for the given IPC type locked.
|
|||
</sect3>
|
||||
|
||||
<sect3>ipc_rmid()<label id="func_ipc_rmid"><p>
|
||||
ipc_rmid() removes the IPC descriptor from the the global
|
||||
ipc_rmid() removes the IPC descriptor from the global
|
||||
descriptor array of the IPC type, updates the count of IDs which
|
||||
are in use, and adjusts the maximum ID in the corresponding
|
||||
descriptor array if necessary. A pointer to the IPC
|
||||
|
|
Loading…
Reference in New Issue