summaryrefslogtreecommitdiff
path: root/microkernel/mach/gnumach/interface/syscall
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2013-03-06 21:52:20 +0100
committerThomas Schwinge <tschwinge@gnu.org>2013-03-06 21:52:20 +0100
commit12c341b917921eb631026ec44a284c4d884e5de6 (patch)
treec7dc37f605152f5fb6e2d67d6460f78496e3de3d /microkernel/mach/gnumach/interface/syscall
parent53e5e4c139e1b239760434d10e74addd0e89593d (diff)
IRC.
Diffstat (limited to 'microkernel/mach/gnumach/interface/syscall')
-rw-r--r--microkernel/mach/gnumach/interface/syscall/mach_print.mdwn53
1 files changed, 53 insertions, 0 deletions
diff --git a/microkernel/mach/gnumach/interface/syscall/mach_print.mdwn b/microkernel/mach/gnumach/interface/syscall/mach_print.mdwn
new file mode 100644
index 00000000..c0b0d0b3
--- /dev/null
+++ b/microkernel/mach/gnumach/interface/syscall/mach_print.mdwn
@@ -0,0 +1,53 @@
+[[!meta copyright="Copyright © 2013 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+
+# IRC, freenode, #hurd, 2013-01-18
+
+ <braunr> youpi: what would you think of adding a debug-related syscall to
+ gnumach so that we have a printf-like tool even in situations where the
+ code can't perform an rpc (i.e. glibc)
+ <youpi> could be useful indeed
+ <youpi> I've found myself having a hard time making some printfs from odd
+ places of glibc :)
+ <braunr> i also suggest we make it unprivileged
+ <youpi> not enabled by default then
+ <youpi> otherwise it's an easy DoS
+ <braunr> well, for now, we don't care much about DoS, but we do care about
+ debugging
+ <braunr> at least until the very core issues we have are understood and
+ resolved
+ <youpi> I usually frown on debugging feature being too open
+ <braunr> me too
+ <youpi> you would always forget dropping one
+ <braunr> that's why i didn't suggest it earlier
+ <braunr> but i'm wasting too much time finding other decently effective
+ ways
+
+
+## IRC, freenode, #hurd, 2013-01-19
+
+ <braunr> youpi: how about we build this debugging system call in debugging
+ versions only ?
+ <braunr> i suppose you already use such versions for buildds anyway
+ <braunr> MACH_DEBUG is always enabled
+ <braunr> the debugging version only adds --enable-kdb if i'm right
+ <pinotree> check debian/rules
+ <braunr> that, and -fno-omit-frame-pointer
+
+
+## IRC, freenode, #hurd, 2013-01-21
+
+ <braunr> youpi: concerning gnumach, i've added a mach_print system call,
+ with one argument (a null terminated string) to -dbg kernels
+ (--enable-kbd)
+ <youpi> k
+ <braunr> if it's fine with you, i'll commit it too
+ <youpi> I'm fine