fix minor typos in lki.sgml

This commit is contained in:
Jason Leschnik 2016-10-25 00:09:43 +11:00
parent b751f88a79
commit fe95f2517c
1 changed files with 4 additions and 4 deletions

View File

@ -3653,7 +3653,7 @@ determines why it was awakened, and how it should
respond. The following cases are handled: respond. The following cases are handled:
<itemize> <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. the system call fails with EIDRM.
<item> If the <tt>status</tt> element of the <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 The user data is copied in via
<ref id="copy_msqid_to_user" name="copy_msqid_to_user()">. The global <ref id="copy_msqid_to_user" name="copy_msqid_to_user()">. The global
message queue semaphore and spinlock are obtained and released 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 process access permissions are validated, the message queue
information is updated with the user provided data. Later, information is updated with the user provided data. Later,
<ref id="expunge_all" name="expunge_all()"> and <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 the kernel buffer to the user buffer directly. Otherwise a
temporary buffer of type struct msqid_ds is initialized, and the temporary buffer of type struct msqid_ds is initialized, and the
kernel data is translated to this temporary buffer. Later 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. buffer to the user buffer.
</sect3> </sect3>
@ -5163,7 +5163,7 @@ spinlock for the given IPC type locked.
</sect3> </sect3>
<sect3>ipc_rmid()<label id="func_ipc_rmid"><p> <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 descriptor array of the IPC type, updates the count of IDs which
are in use, and adjusts the maximum ID in the corresponding are in use, and adjusts the maximum ID in the corresponding
descriptor array if necessary. A pointer to the IPC descriptor array if necessary. A pointer to the IPC