summaryrefslogtreecommitdiff
path: root/microkernel/mach/gnumach/interface
diff options
context:
space:
mode:
Diffstat (limited to 'microkernel/mach/gnumach/interface')
-rw-r--r--microkernel/mach/gnumach/interface/syscall.mdwn16
-rw-r--r--microkernel/mach/gnumach/interface/syscall/mach_print.mdwn53
2 files changed, 69 insertions, 0 deletions
diff --git a/microkernel/mach/gnumach/interface/syscall.mdwn b/microkernel/mach/gnumach/interface/syscall.mdwn
new file mode 100644
index 00000000..d5fc542b
--- /dev/null
+++ b/microkernel/mach/gnumach/interface/syscall.mdwn
@@ -0,0 +1,16 @@
+[[!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]]."]]"""]]
+
+[[!meta title="System Calls"]]
+
+/!\ Incomplete.
+
+[[!map pages="microkernel/mach/gnumach/interface/syscall/* and !microkernel/mach/gnumach/interface/syscall/*/*"
+show=title]]
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