aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_proc.cc
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-04-01 19:48:19 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-04-01 19:48:19 +0000
commitd68288f697fae3c3cebe1cfa4780b467cf85f13c (patch)
treeedc0ed9c2195cec2cd2545ff4b8fd33d1e7d6ff2 /winsup/cygwin/fhandler_proc.cc
parente974e7a0830c44b7308ad6b754b83c72425ddc9d (diff)
downloadnewlib-d68288f697fae3c3cebe1cfa4780b467cf85f13c.zip
newlib-d68288f697fae3c3cebe1cfa4780b467cf85f13c.tar.gz
newlib-d68288f697fae3c3cebe1cfa4780b467cf85f13c.tar.bz2
Implement /proc/sysvipc/*
* devices.in (dev_procsysvipc_storage): Add. * devices.cc: Regenerate. * devices.h (fh_devices): Add FH_PROCSYSVIPC. * dtable.cc (build_fh_pc): Add case FH_PROCSYSVIPC. * fhandler.h (class fhandler_procsysvipc): Declare. (fhandler_union): Add __procsysvipc. * fhandler_proc.cc (proc_tab): Add sysvipc virt_directory. * fhandler_procsysvipc.cc: New file. * Makefile.in (DLL_OFILES): Add fhandler_procsysvipc.o. * path.h (isproc_dev): Add FH_PROCSYSVIPC to conditional.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 6ae7d80..c46fbbe 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -61,6 +61,7 @@ static const virt_tab_t proc_tab[] = {
{ _VN ("self"), FH_PROC, virt_symlink, format_proc_self },
{ _VN ("stat"), FH_PROC, virt_file, format_proc_stat },
{ _VN ("sys"), FH_PROCSYS, virt_directory, NULL },
+ { _VN ("sysvipc"), FH_PROCSYSVIPC, virt_directory, NULL },
{ _VN ("uptime"), FH_PROC, virt_file, format_proc_uptime },
{ _VN ("version"), FH_PROC, virt_file, format_proc_version },
{ NULL, 0, 0, virt_none, NULL }