[Return to Top] [Kernel Objects]

EROS Object Reference

Kernel Objects

LogAppend

D R A F T

Description

The LogAppend key conveys the authority to append bytes to the system log. This is a relatively closely held key, because appending notices to the system log is generally a terrible way to deal with problems.


Operations

Check Alleged Key Type (OC = KT)

Returns the alleged type of the key.
ReplyR10x10000000: Key is a logappend key.

Append String to Log (OC = 1)

Appends the passed string (up to 1024 bytes) to the kernel diagnostic log.
RequestB*Data to be written to the diagnostic log.
Result0Write was successful.
KT+1Unknown order code
KT+2Length limit exceeded


Copyright 1998 by Jonathan Shapiro. All rights reserved. For terms of redistribution, see the GNU General Public License