commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Hurd branch, master, updated. v0.5-414-g6e047f8


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-414-g6e047f8
Date: Sun, 15 Jun 2014 16:46:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  6e047f852cb052cf4cbc50799373c5f13382540d (commit)
       via  7877d064a4318fb550b3cbcf64f0ec605e4a53e2 (commit)
       via  aac4aaf42372f61c78061711916c81a9d5bcb42d (commit)
       via  65ebcc40e55dfb3ee776383891f8a6b15b176d27 (commit)
       via  122224d32894a8465a09561fc0a5220f5bb9c2c7 (commit)
       via  c87688a05a8b49479ee10127470cc60acebead4a (commit)
       via  969078c9755b7e28dcabe277629f757e20a19f1a (commit)
       via  690beb4d6679c66f45d09883408cb860337e31c2 (commit)
       via  883e9a3bcbd0de620272c79b6a081b42b0832ef4 (commit)
       via  2f13ab11aa71a2b8fb6e045a9ff81b7b2252cbe0 (commit)
       via  2baaf773daa797048ea96573fa01786d129f00fb (commit)
       via  eda9e61107ed34a5f7a566fe6835a48c48aec1d3 (commit)
       via  fc7055f2461fa92bc17d67f02058399dca5736ae (commit)
       via  7802531da03626cfded497239e29a8ec2e4a3285 (commit)
       via  07b0785c207cd46751abcb17cf44168621bbc479 (commit)
       via  92132dda0f13b2f4e82048797acfb7c34da2f53f (commit)
       via  890f987c15029d7e29f7deea0bba0b8d4ecaeaeb (commit)
       via  641249f6b143c4e22825e18e0dbe22bb04d21138 (commit)
       via  b1a3f96a8139c5ed3aac7b8a77b06ba4c0a877c7 (commit)
       via  669dadfa07a5e63db8d9e572603872be88db52a3 (commit)
       via  fd1f64a2e9e794a0184238bf3a0c4b7f5c6f963c (commit)
       via  ea6ea2f554bc81b856d5286c23c2b4c8ba303fb9 (commit)
       via  26b18d8e7d8bb5f1bf9ae20e40e8b291db3cebd6 (commit)
       via  9288839793069e589615e4bb47257b63501586ae (commit)
       via  3081d01a686922957fa298a3101f3cb1e8200ce7 (commit)
       via  1b7ad5c5d601b6388f0fc871b4fa42d231c05400 (commit)
       via  9828a0bb4c6e69f401738013e4adfb4da95afc03 (commit)
       via  b5014c2caaef8ee061c47b907a599526d9dbe875 (commit)
       via  9cb2ed46f9958cf80221a75df5a56aa82d46133e (commit)
       via  da62c4ea16e14fac7e298385a681043820d69ac4 (commit)
       via  e50d744b189595aa9e2f2351c57225980387362f (commit)
       via  4d9dc03bbc42fdfdac0dc72f2bfac1f37f70e8b7 (commit)
       via  f8471a5a6b20693d3c7afc0645de62c842b82bd3 (commit)
       via  d9fc76bd4e8c9a459fad7152135b738496318415 (commit)
       via  f4dfd14bb77fd884a0e5afe306c677e7e873f41d (commit)
       via  b0db9bc55ce9b66d0fba511239c278d1a257a9ef (commit)
       via  8dc9884fc74243a6810fdcac603e1941962b666a (commit)
       via  5c7310fd853620627b57c72ddcc3b212f29f6056 (commit)
       via  e25cfb3f3a843122df7e70e97992a97ffe81717a (commit)
       via  0f3c9c2640ffd76f1d60f16dce6d16c47aac98b4 (commit)
       via  164db73bb35173f45a7eaba1984c3169cba778e8 (commit)
       via  e1c831a43ac1945db5a52ee6873856b9399dca76 (commit)
       via  ca8277c6f507e54a043b84a8df9c55ac39a83c6e (commit)
       via  b3d304167929bc199e6789fd67ffea035e7fdbf1 (commit)
       via  7b027a34676880bded1a05a5c47bfa85a6e79092 (commit)
       via  434f79cbfa00c7370724dc25091b5a42bdf8d9e1 (commit)
       via  7550343b09a94dc1c659ad74dc75b3b77e7ab0bc (commit)
       via  f522af65aa004fea09705c74115836c6acd1cddb (commit)
       via  4646c4a3ef6171a0ddec4fcfe0c6aa34b50501cd (commit)
       via  6e202c432e2f16dfa83a7dc21b759c03623fa394 (commit)
       via  0f2bdacd6ad3dbcc905925dee12cb30918c33a11 (commit)
       via  a269783a41ae8b18e5b24d934c96ce9e90de3067 (commit)
       via  0439361f817c3f610c1f5ec859bd302867472e50 (commit)
       via  4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7 (commit)
       via  4f40fb6fbfa95c51b6abfceffcd0e1ce80824e70 (commit)
       via  d67e76dbb63e277f0d503224e63e85cc5d91ac11 (commit)
       via  33bfc249fd692910bb1e3f7a5820d31dfda0f284 (commit)
       via  25bad336ed7af83bfb78b2a3534fdf223554bfc0 (commit)
       via  abd1ad000a2861b46df445888365678686e31bcb (commit)
       via  e873ff83afba08ff61a5e98ab90d5ee05ab5c601 (commit)
       via  e3707dc9deb28d5144836032a54dbc028247835d (commit)
       via  0ef322973a8b9dc9c0f5ba8155ad780016f3654f (commit)
       via  4665f087fde174a9de3e1c3f3de090dd4bfa85e0 (commit)
       via  5714e1cef2584410a7823c7ead9d2435141fb0c4 (commit)
       via  b3427143ae8dc628cb3748da7618700c6bd7ac9e (commit)
       via  f9ddb679942b6f4309d05b5462fe5cbb3d0a2beb (commit)
       via  c68fc8b783804e093551d93cc1b8c10964cdaaeb (commit)
       via  aa3bac054364aa2d3614ded28df4980639184319 (commit)
       via  efb8515465dcb03526a35bf87b549cac97bbab8c (commit)
       via  2717c43bca6f920c4d3b0909c33bf3c1f76a70a9 (commit)
       via  80e439d146f661c416b7f42c4180b16aae7ac2f7 (commit)
       via  75f53efdc66be8c6ffac31bd17a309f9065e273c (commit)
       via  a45606d0036565c468b462a207575bf2b4077fd8 (commit)
       via  1f1661d6a5b6f22acb48460b5304e29af2a0a554 (commit)
       via  086569ee636d91a820aa23031dda3cb74bab9505 (commit)
       via  2c7dcef74c3259d2d5db7a11f5c77d18d3a51e85 (commit)
       via  c6c770c33eb0f23e7e8e04976c711653cdf1a41d (commit)
       via  4ac169deaa1eb4c8df4a49fc940700971fa5863a (commit)
       via  97e598086b37583585b455d2b804b6e49d97ea85 (commit)
       via  ef370b0967024ced9296ff2028abc1b154c0a951 (commit)
       via  56d301e212ac1964223cff8ef9c34889cb1a6e75 (commit)
       via  2fb5b93b4cd56fd68b525371ba63b0933b61d03a (commit)
       via  c62d5ff73ceaad21bb0784ed6098d307a625b10d (commit)
       via  ba139824fa06a97f2a3b1cc4c6085d10a83ec2b9 (commit)
       via  ac75e3648e6a9c3a8cf45d5fa491abd3a3ab3613 (commit)
       via  3907bbbcfb806799a5349e46a2b804307a0e9836 (commit)
       via  56ba0ac1e3a3f32763060ab862a6f0054c8a50bf (commit)
       via  0a4c7a1ca8bff458eb11322d2c94ec9ffd832524 (commit)
       via  d938e96e59a41d5eaa11040513815b757e58eb0c (commit)
       via  1b55547480eff13851f2d53ff96afbace11c6004 (commit)
       via  5af547e7fc9ddc0b472b99c6bdb7341f6204e43f (commit)
       via  5d011324a721d7cf3babfe6aa068e247c7f27f42 (commit)
       via  d76613f23eec2a66f4727c69fcec3b5e3be3da22 (commit)
       via  edb4593c38d421b5d538b221a991b50c36fdba15 (commit)
       via  e58f247f9c3a95ea2805fe132777d192ef51f6d1 (commit)
       via  7e7201c453ad7faa5d26625ca9d263ee625ef5ed (commit)
       via  7a8b315855fc8edba2003fa69cb86cf664f4c2ec (commit)
       via  fdd74966f222b67aa3161e809c6e9d8aacb16b12 (commit)
       via  b33bac72fa26be8676a6da73e0b13f51bcd40034 (commit)
       via  80e2bfc9ee29a5ecac3a9b8eaa2d470ae30222c9 (commit)
       via  4cce52a1ec161008243f5bee63df7f6230c0f7e6 (commit)
       via  151d56afe0d7d9eb527fb0a194f383435b2c0f65 (commit)
       via  5bb07a3cb626b18aedfa463b6b344bf0fd963e71 (commit)
       via  a027dcc41d381a3c76a5b20d4d55ad9821af2308 (commit)
       via  0419c2813a91d0746cc70f4ecab33efca4b9440c (commit)
       via  802ea16ef91b30bc4fa9a61779b5c3602219bb1d (commit)
       via  c15f3bee8d46f05afe1d3f582778d74c7e706485 (commit)
      from  8672d3f031f7898c26b2526960c77c4c522fb950 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6e047f852cb052cf4cbc50799373c5f13382540d
Author: Justus Winter <address@hidden>
Date:   Sun Jun 15 18:44:31 2014 +0200

    Add the procfs translator to prog-subdirs
    
    * Makefile (prog-subdirs): Add procfs.

commit 7877d064a4318fb550b3cbcf64f0ec605e4a53e2
Merge: 8672d3f aac4aaf
Author: Justus Winter <address@hidden>
Date:   Sun Jun 15 18:33:03 2014 +0200

    Merge procfs into the Hurd repository

commit aac4aaf42372f61c78061711916c81a9d5bcb42d
Author: Justus Winter <address@hidden>
Date:   Sun Jun 15 18:25:59 2014 +0200

    Prepare the procfs translator to be merged into the Hurd sources
    
    Move the procfs translator to its own subdirectory 'procfs'.
    
    This is the last commit to this repository.  Development of the procfs
    translator will continue in the main Hurd repository.
    
    * procfs/Makefile: Replace the standalone Makefile with the one from
    the Debian packaging repository.

commit 65ebcc40e55dfb3ee776383891f8a6b15b176d27
Author: Justus Winter <address@hidden>
Date:   Wed May 28 14:37:58 2014 +0200

    Do not include the terminating zero in /proc/slabinfo
    
    * rootdir.c (rootdir_gc_slabinfo): Do not zero-terminate the generated
    content.

commit 122224d32894a8465a09561fc0a5220f5bb9c2c7
Author: Justus Winter <address@hidden>
Date:   Thu May 22 20:25:22 2014 +0200

    Implement /proc/slabinfo
    
    Add a node 'slabinfo' to the root directory that contains information
    about the slab allocator used in GNU Mach.
    
    The formatting code has been taken from Richard Braun's standalone
    client available here:
    
    git://darnassus.sceen.net/rbraun/slabinfo.git
    
    * rootdir.c (rootdir_gc_slabinfo): New function.
    (rootdir_entries): Add node 'slabinfo'.
    * Makefile (OBJS): Add mach_debugUser.o.
    (rootdir.o): Add an explicit dependency on mach_debug_U.h.
    Furthermore, add rules to create both functions.

commit c87688a05a8b49479ee10127470cc60acebead4a
Author: Richard Braun <address@hidden>
Date:   Fri Oct 4 20:27:45 2013 +0200

    Fix mtab translator leak
    
    The node structure for the `mounts' entry is created and destroyed on
    each access, despite the fact a translator is activated on it. Fix the
    issue by caching it.
    
    * rootdir.c (rootdir_mounts_node): New variable.
    (rootdir_mounts_node_lock): Likewise.
    (rootdir_mounts_make_node): New function.
    (rootdir_translator_make_node): Remove function.
    (rootdir_entries): Replace `rootdir_translator_make_node' with
    `rootdir_mounts_make_node'.

commit 969078c9755b7e28dcabe277629f757e20a19f1a
Author: Justus Winter <address@hidden>
Date:   Mon Jul 22 17:54:39 2013 +0200

    Serve mounts node with a passive translator record
    
    Make mounts a node with a passive translator record so that the mtab
    translator is started on access if it is available.
    
    * rootdir.c (MTAB_TRANSLATOR): New macro.
    (rootdir_mounts_get_translator): New function.
    (rootdir_mounts_exists): New function.
    (rootdir_translator_make_node): Likewise.
    (rootdir_entries): Add "mounts" node.

commit 690beb4d6679c66f45d09883408cb860337e31c2
Author: Justus Winter <address@hidden>
Date:   Mon Aug 5 12:11:30 2013 +0200

    Make start_code and end_code available in /proc/*/stat
    
    This makes killall5 actually kill any processes not marked as
    important.
    
    * process.c (process_file_gc_stat): Fix {start,end}_code.

commit 883e9a3bcbd0de620272c79b6a081b42b0832ef4
Author: Justus Winter <address@hidden>
Date:   Fri Jun 28 18:37:45 2013 +0200

    procfs: provide a more meaningful response to fsys_get_options
    
    Implement our own netfs_append_args function that provides the
    appropriate command line flags if the current values differ from the
    default values.
    
    * procfs/main.c (netfs_append_args): New function.

commit 2f13ab11aa71a2b8fb6e045a9ff81b7b2252cbe0
Author: Justus Winter <address@hidden>
Date:   Fri Jun 28 18:37:44 2013 +0200

    procfs: define macros for the default argument values
    
    Define a macro for the default value of each command line
    parameter. This allows one to generate a minimal response to
    fsys_get_options requests.
    
    * procfs/main.c: New macro definitions for default values.

commit 2baaf773daa797048ea96573fa01786d129f00fb
Author: Justus Winter <address@hidden>
Date:   Fri Jun 28 18:37:43 2013 +0200

    procfs: handle the --update parameter
    
    Split the argument handling into a common part and one for
    fsys_update_options. Handle the --update parameter; for procfs this is
    a no-op.
    
    * procfs/main.c (common_options): New variable.
    (runtime_argp_parser): Handle --update.
    (startup_argp): New variable.
    (netfs_runtime_argp_): New variable.

commit eda9e61107ed34a5f7a566fe6835a48c48aec1d3
Author: Justus Winter <address@hidden>
Date:   Mon Aug 26 19:32:24 2013 +0200

    Fix argument parsing
    
    The switch statement was missing the default case returning
    ARGP_ERR_UNKNOWN. This patch adds that.
    
    * main.c (argp_parser): Add default case.

commit fc7055f2461fa92bc17d67f02058399dca5736ae
Author: Justus Winter <address@hidden>
Date:   Mon Jul 22 17:54:38 2013 +0200

    rootdir.c: Fix declaration of rootdir_fakeself_exists.
    
    * rootdir.c (rootdir_fakeself_exists): Use the correct arguments for
      this kind of function.

commit 7802531da03626cfded497239e29a8ec2e4a3285
Author: Justus Winter <address@hidden>
Date:   Mon Jul 22 17:54:37 2013 +0200

    rootdir.c: Fix compiler warning
    
    * rootdir.c (rootdir_gc_meminfo): Use unsigned long constant.

commit 07b0785c207cd46751abcb17cf44168621bbc479
Author: Justus Winter <address@hidden>
Date:   Mon Jul 22 17:54:36 2013 +0200

    Makefile: add -lpthread
    
    * Makefile (LIBS): Link with libpthread.

commit 92132dda0f13b2f4e82048797acfb7c34da2f53f
Author: Samuel Thibault <address@hidden>
Date:   Mon Jul 22 22:57:38 2013 +0200

    Fix profile link
    
    * Makefile [PROFILE] (LIBS): Replace -lthreads with -lpthread

commit 890f987c15029d7e29f7deea0bba0b8d4ecaeaeb
Author: Justus Winter <address@hidden>
Date:   Tue Jul 16 10:51:22 2013 +0200

    Add the necessary infrastructure to serve passive translators
    
    * netfs.c (netfs_get_translator): New function.
    * procfs.c (procfs_get_translator): Likewise.
    * procfs.h (struct procfs_node_ops): New field get_translator.
    (procfs_get_translator): New function declaration.

commit 641249f6b143c4e22825e18e0dbe22bb04d21138
Author: Justus Winter <address@hidden>
Date:   Tue Jul 16 10:51:21 2013 +0200

    Fix default file ownership
    
    Formerly all nodes were created so that they were owned by root:root
    by default. This causes problems if the procfs translator is running
    as unprivileged user and serves passive translator records, because
    the file ownership is being used as credentials for starting
    translators. This obviously fails if the procfs translator is not root
    but is trying to acquire credentials including uid/gid 0.
    
    Fix this by using the uid/gid of the procfs translator by default.
    
    procfs.c (procfs_make_node): Fix default node ownership.

commit b1a3f96a8139c5ed3aac7b8a77b06ba4c0a877c7
Author: Justus Winter <address@hidden>
Date:   Tue Jul 16 10:51:20 2013 +0200

    Fix procfs_node_chmod
    
    Formerly only the mode_t bits cut out by S_IFMT were preserved, but
    this does not include S_IPTRANS. Fix this by preserving everything but
    the permission bits.
    
    * procfs.c (procfs_node_chmod): Fix bitmask.

commit 669dadfa07a5e63db8d9e572603872be88db52a3
Author: Justus Winter <address@hidden>
Date:   Sat Jul 20 17:47:05 2013 +0200

    procfs: Ignore arguments for compatibility with Linux' procfs.
    
    Ignore the --nodev, --noexec and --nosuid arguments.
    
    * procfs/main.c (argp_parser): Ignore some arguments for compatibility.

commit fd1f64a2e9e794a0184238bf3a0c4b7f5c6f963c
Author: Justus Winter <address@hidden>
Date:   Sat Jun 29 22:14:13 2013 +0200

    procfs: enable fsys_set_options
    
    Make procfs translators handle fsys_set_options requests by pointing
    netfs_runtime_argp to our argp struct.
    
    * procfs/main.c (netfs_runtime_argp): New variable.

commit ea6ea2f554bc81b856d5286c23c2b4c8ba303fb9
Author: Justus Winter <address@hidden>
Date:   Sat Jun 29 22:13:16 2013 +0200

    procfs: keep old config values if the parsing fails
    
    Previously if strtol failed the previous configuration value would get
    overwritten. Prevent this by storing the result in a temporary
    variable and update the configuration if the argument was parsed
    correctly and passed the sanity checks.
    
    * procfs/main.c (argp_parser): Keep old configuration in case a
    malformed value is encountered.

commit 26b18d8e7d8bb5f1bf9ae20e40e8b291db3cebd6
Author: Samuel Thibault <address@hidden>
Date:   Sat Jun 29 22:10:09 2013 +0200

    procfs: fix the error handling in argp_parser
    
    Do not exit using error (1, ..) but gracefully handle the error using
    argp_error. Also fix a typo ("the a user") while touching these lines.
    
    * procfs/main.c (argp_parser): Proper error handling.
    (argp_parser): Fix typo.

commit 9288839793069e589615e4bb47257b63501586ae
Author: Pino Toscano <address@hidden>
Date:   Sat Mar 2 17:36:36 2013 +0100

    Remove old hack for the "stat" permissions
    
    7550343b09a94dc1c659ad74dc75b3b77e7ab0bc added a better way to set the 
permissions of that file,
    so this old hack is not needed anymore.
    
    * process.c (process_lookup_pid): Do not change the mode of ENTRIES[2].hook.

commit 3081d01a686922957fa298a3101f3cb1e8200ce7
Author: Richard Braun <address@hidden>
Date:   Sat Jan 12 16:23:09 2013 +0100

    Report VM cache size in meminfo
    
    * rootdir.c: Include <mach/gnumach.h> and <mach/vm_cache_statistics.h>.
    (rootdir_gc_meminfo): Call vm_cache_statistics and return the VM cache size.

commit 1b7ad5c5d601b6388f0fc871b4fa42d231c05400
Author: Pino Toscano <address@hidden>
Date:   Thu Dec 6 17:51:58 2012 +0100

    Simple implementation of statfs
    
    Initial implementation of statfs reply, just returning the filesystem type 
and its id.
    
    * netfs.c: Include <sys/statvfs.h> and <unistd.h>.
    (netfs_attempt_statfs): Implement.

commit 9828a0bb4c6e69f401738013e4adfb4da95afc03
Author: Richard Braun <address@hidden>
Date:   Sun Nov 25 22:47:15 2012 +0100

    Move procfs to pthreads

commit b5014c2caaef8ee061c47b907a599526d9dbe875
Author: Cyril Roelandt <address@hidden>
Date:   Fri Oct 19 00:32:18 2012 +0200

    Fix procfs link
    
    Makefile (LIBS): Add -lfshelp

commit 9cb2ed46f9958cf80221a75df5a56aa82d46133e
Merge: da62c4e e50d744
Author: Samuel Thibault <address@hidden>
Date:   Tue Sep 11 02:31:15 2012 +0200

    Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/procfs into 
jkoenig/master

commit da62c4ea16e14fac7e298385a681043820d69ac4
Author: Pino Toscano <address@hidden>
Date:   Mon Sep 10 18:14:48 2012 +0200

    PID stat/status: show only the first word
    
    If a process changed its title to a multiword string, show only the first 
word
    of it.
    
    * process.c (args_filename_length): New function.
    (process_file_gc_stat): Use args_filename_length.
    (process_file_gc_status): Likewise.

commit e50d744b189595aa9e2f2351c57225980387362f
Merge: 1b55547 4d9dc03
Author: Thomas Schwinge <address@hidden>
Date:   Thu Jul 12 15:50:11 2012 +0200

    Merge jkoenig/master into master.
    
    This branch supersedes the previous one.

commit 4d9dc03bbc42fdfdac0dc72f2bfac1f37f70e8b7
Author: Pino Toscano <address@hidden>
Date:   Sat Jan 14 14:47:58 2012 +0100

    PID stat/status: show only the file name of processes
    
    The Linux /proc fs shows only the file name of processes in the
    `stat' and `status' files of every process directory, so adapt also
    procfs to show process file names.
    
    Add a new `args_filename` function, much similar to GNU's `basename'
    but returning the original string also when the resulting file name
    is an empty string.
    
    * process.c (args_filename): New function.
    (process_file_gc_stat): Wrap the `proc_stat_args' result with
    `args_filename'.
    (process_file_gc_status): Likewise.

commit f8471a5a6b20693d3c7afc0645de62c842b82bd3
Author: Samuel Thibault <address@hidden>
Date:   Tue Dec 27 18:13:00 2011 +0100

    Revert "Do not use msgport information"
    
    This reverts commit d9fc76bd4e8c9a459fad7152135b738496318415, as it breaks
    /proc/pid/stat

commit d9fc76bd4e8c9a459fad7152135b738496318415
Author: Samuel Thibault <address@hidden>
Date:   Tue Dec 27 17:31:20 2011 +0100

    Do not use msgport information
    
    * process.c (process_lookup_pid): Set PSTAT_NO_MSGPORT flag.
    * rootdir.c (get_boottime, get_idletime, rootdir_gc_cmdline): Set
    PSTAT_NO_MSGPORT flag.

commit f4dfd14bb77fd884a0e5afe306c677e7e873f41d
Author: Samuel Thibault <address@hidden>
Date:   Tue Feb 22 21:06:36 2011 +0100

    Add Buffers and Cached to /proc/meminfo
    
    * rootdir.c (rootdir_gc_meminfo): Add Buffers and Cached, set to 0.

commit b0db9bc55ce9b66d0fba511239c278d1a257a9ef
Author: Jeremie Koenig <address@hidden>
Date:   Wed Sep 1 10:49:11 2010 +0000

    Use 2 instead of 42 as the parent inode number
    
    * procfs.c (procfs_make_ino): Use 2 rather than 42 as a temporary hack,
      since 2 is the root's inode with ext2fs.

commit 8dc9884fc74243a6810fdcac603e1941962b666a
Author: Jeremie Koenig <address@hidden>
Date:   Wed Sep 1 10:19:49 2010 +0000

    Use the user-provided kernel PID for uptime
    
    * rootdir.c (get_boottime, get_idletime): replace KERNEL_PID with the
      opt_kernel_pid command-line option.
    * main.c (argp): Document the change.

commit 5c7310fd853620627b57c72ddcc3b212f29f6056
Author: Jeremie Koenig <address@hidden>
Date:   Thu Aug 26 23:03:40 2010 +0000

    Add copyright notices
    
    * dircat.c, dircat.h, main.c, main.h, netfs.c, process.c, process.h,
      procfs.c, procfs.h, procfs_dir.c, procfs_dir.h, proclist.c,
      proclist.h, rootdir.c, rootdir.h: Add copyright notices.

commit e25cfb3f3a843122df7e70e97992a97ffe81717a
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 25 19:15:35 2010 +0000

    Update the to-do list.
    
    * TODO: Add more entries.

commit 0f3c9c2640ffd76f1d60f16dce6d16c47aac98b4
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 25 19:04:24 2010 +0000

    Add some comments in rootdir.c
    
    * rootdir.c: Add page breaks to separate sections and add header
      comments for them.

commit 164db73bb35173f45a7eaba1984c3169cba778e8
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 25 12:03:16 2010 +0000

    Add swap information to the top-level stat file
    
    * rootdir.c (rootdir_gc_meminfo): Add swap information.
    * TODO: Update.

commit e1c831a43ac1945db5a52ee6873856b9399dca76
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 25 05:47:08 2010 +0000

    Add a PROFILE mode
    
    * Makefile: Change FOOFLAGS defaults to appropriate values when
      $(PROFILE) is defined.
    * rootdir.c: Add an "exit" file, which causes exit to be called
      when looked up, so that profiling data can be written to disk.

commit ca8277c6f507e54a043b84a8df9c55ac39a83c6e
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 25 05:46:49 2010 +0000

    Fix leak in error case
    
    * process.c (process_lookup_pid): Fix leak in error case.

commit b3d304167929bc199e6789fd67ffea035e7fdbf1
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 20:43:16 2010 +0000

    Refresh nodes when they're read from the start.
    
    This is necessary for top, for instance, which keeps some files open and
    re-reads them regularly. As an extra bonus we can drop the refresh hack.
    
    * procfs.c, procfs.h: Remove the refresh hack.
      (procfs_refresh): New function, invalidates the cached contents.
    * netfs.c (netfs_attempt_read, netfs_get_dirents): Call
      procfs_refresh when the read is from offset 0.
    * proclist.c (proclist_make_node): Remove the refresh hack.
    * dircat.c (dircat_make_node): Likewise.
      (dircat_get_contents): Use procfs_refresh to avoid keeping old data
      from the component nodes.

commit 7b027a34676880bded1a05a5c47bfa85a6e79092
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 20:21:52 2010 +0000

    Make sure the clock never runs backwards.
    
    * process.c, rootdir.c: When converting timeval structures
      into seconds or jiffies, make sure that floating point rounding errors
      don't make the clock the result jump backwards on second boundaries.

commit 434f79cbfa00c7370724dc25091b5a42bdf8d9e1
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 19:04:48 2010 +0000

    Fix the global idle time
    
    * rootdir.c: Replace INIT_PID by KERNEL_PID, for boot time and
      idle time purposes.  (get_idletime): New function, queries the
      kernel's idle thread.  (rootdir_gc_uptime, rootdir_gc_stat): Use the
      new function and provide the real idle time.

commit 7550343b09a94dc1c659ad74dc75b3b77e7ab0bc
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 16:46:04 2010 +0000

    Cleanup pass on process.c
    
    * process.c: Reorder some of the code.  Improve comments.
      Jiffies and clock tick are the same thing, right?  Replace the stat
      mode and cleanup hacks by more straightforward solutions.

commit f522af65aa004fea09705c74115836c6acd1cddb
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 14:15:54 2010 +0000

    Revamp procfs_dir
    
    * procfs_dir.c, procfs_dir.h: Revamp the interface to make
      the more complicated use cases somewhat less hackish.
    * process.c: Update, specify a default make_node function.
    * rootdir.c: Likewise; make this optional "self" link use case
      somewhat less hackish.

commit 4646c4a3ef6171a0ddec4fcfe0c6aa34b50501cd
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 11:54:10 2010 +0000

    Improve the interface for dircat_make_node
    
    * dircat.c, dircat.h (dircat_make_node): Use an explicit
      array size for DIRS, fail with ENOMEM is any of them is NULL, and
      release the reference on the non-NULL nodes on any error.
    * main.c (root_make_node): Use the new interface.

commit 6e202c432e2f16dfa83a7dc21b759c03623fa394
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 11:33:22 2010 +0000

    Detect asprintf's ENOMEM in procfs.c rather than everywhere
    
    * procfs.h: Make CONTENTS_LEN an ssize_t rather than a size_t,
      and document the change.
    * procfs.c (procfs_get_contents): Initialize CONTENTS_LEN to a
      negative value, and fail with ENOMEM if it's still negative after the
      callback returns.  (everywhere): Update to ssize_t.
    * dircat.c, netfs.c, process.c,
      procfs_dir.c, proclist.c, rootdir.c: Update to
      ssize_t and the new GET_CONTENTS semantics.

commit 0f2bdacd6ad3dbcc905925dee12cb30918c33a11
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 11:24:29 2010 +0000

    Make contents a char* to avoid typecasts all over the place
    
    * procfs.h (procfs_cleanup_contents_with_free,
      procfs_cleanup_contents_with_vm_deallocate, procfs_get_contents,
      struct procfs_ops): Change CONTENTS from a void pointer to a char one.
    * dircat.c, netfs.c, process.c, procfs.c,
      procfs_dir.c, proclist.c, rootdir.c: Update.

commit a269783a41ae8b18e5b24d934c96ce9e90de3067
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 11:02:48 2010 +0000

    Remove the unused procfs_file module
    
    * procfs_file.c, procfs_file.h: Remove.
    * Makefile: Remove procfs_file.

commit 0439361f817c3f610c1f5ec859bd302867472e50
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 11:02:13 2010 +0000

    Fix the handling of processes without an owner
    
    * main.c (argp_parser): New option --anonymous-owner.
    * main.h: Publish it.
    * process.c (process_lookup_pid): Use it to set the file owner
      uid of non-owned processes.

commit 4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 09:06:01 2010 +0000

    Use a global ps_context
    
    * proclist.c, proclist.h (proclist_create_node): Use a
      ps_context passed by the caller; errors are no longer possible, rename
      to proclist_make_node and change the signature accordingly.
    * rootdir.c, rootdir.h (rootdir_create_node): Likewise.
    * main.c (main): Create the ps_context here and pass it to
      root_make_node.  (root_make_node): Pass it to proclist_make_node and
      rootdir_make_node.

commit 4f40fb6fbfa95c51b6abfceffcd0e1ce80824e70
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 09:05:30 2010 +0000

    Add a TODO-list
    
    * TODO: New file.

commit d67e76dbb63e277f0d503224e63e85cc5d91ac11
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 08:25:07 2010 +0000

    netfs_server_loop never returns
    
    * main.c: Don't call netfs_server_loop repeatedly; it should
      never return.

commit 33bfc249fd692910bb1e3f7a5820d31dfda0f284
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 08:24:43 2010 +0000

    Handle errors in main
    
    * main.c (main): Handle errors from argp_parse and
      root_make_node.

commit 25bad336ed7af83bfb78b2a3534fdf223554bfc0
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 07:35:59 2010 +0000

    Add a --compatible option
    
    * main.c (argp_parser): Add --compatible, which sets the options
      required for compatibility with the procps tools.

commit abd1ad000a2861b46df445888365678686e31bcb
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 07:14:45 2010 +0000

    Add a status file to process directories
    
    * process.c: Add a status file.

commit e873ff83afba08ff61a5e98ab90d5ee05ab5c601
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 05:44:37 2010 +0000

    Add statm to process directories
    
    * process.c: Add the statm file.

commit e3707dc9deb28d5144836032a54dbc028247835d
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 05:19:19 2010 +0000

    Add a global cmdline file
    
    * main.c (argp_parser, main): Add the --kernel-pid option.
    * main.h: Publish it.
    * rootdir.c (rootdir_gc_cmdline): New function.

commit 0ef322973a8b9dc9c0f5ba8155ad780016f3654f
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 00:52:24 2010 +0000

    Add meminfo and vmstat
    
    * rootdir.c: Add a (non-empty) meminfo and a vmstat file.

commit 4665f087fde174a9de3e1c3f3de090dd4bfa85e0
Author: Jeremie Koenig <address@hidden>
Date:   Sun Aug 22 21:23:36 2010 +0000

    Add a fake-self option to control the self symlink
    
    * main.c (argp_parse, main): Add the --fake-self option.
    * main.h: Publish it.
    * rootdir.c (rootdir_gc_fakeself, rootdir_entries,
      rootdir_create_node): Use it.

commit 5714e1cef2584410a7823c7ead9d2435141fb0c4
Author: Jeremie Koenig <address@hidden>
Date:   Sun Aug 22 20:46:54 2010 +0000

    Add --stat-mode to override the perms for [pid]/stat
    
    * main.c (argp_parser, main): Add the --stat-mode option.
    * process.c (process_lookup_pid): Use it.

commit b3427143ae8dc628cb3748da7618700c6bd7ac9e
Author: Jeremie Koenig <address@hidden>
Date:   Sun Aug 22 20:17:54 2010 +0000

    Add --clk-tck to set the clock unit
    
    * main.c (argp_parser, main): Add and parse the --clk-tck option.
    * main.h: Publish opt_clk_tck.
    * process.c (sc_tc): Use the user-provided clock frequency.
    * rootdir.c (rootdir_gc_stat): Likewise.

commit f9ddb679942b6f4309d05b5462fe5cbb3d0a2beb
Author: Jeremie Koenig <address@hidden>
Date:   Sun Aug 22 19:33:43 2010 +0000

    Play nice with the procps old_Hertz_hack
    
    * rootdir.c (rootdir_gc_uptime, rootdir_gc_stat): assume a
      completely idle rather than completely busy system, so that the idle
      seconds can be meaningfully divided by the idle jiffies by procps.

commit c68fc8b783804e093551d93cc1b8c10964cdaaeb
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 00:55:29 2010 +0000

    Add an empty meminfo root file
    
    * rootdir.c: Add "meminfo", empty for now.

commit aa3bac054364aa2d3614ded28df4980639184319
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 23 00:55:11 2010 +0000

    Add a fake "self" symlink
    
    * rootdir.c: Add a fake "self" symlink which always points to
      init.

commit efb8515465dcb03526a35bf87b549cac97bbab8c
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 19:18:59 2010 +0000

    Add loadavg
    
    * rootdir.c: Add the root file "loadavg".

commit 2717c43bca6f920c4d3b0909c33bf3c1f76a70a9
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 18:08:17 2010 +0000

    New root files: version, uptime, stat
    
    * rootdir.c, rootdir.h: New files.
    * main.c: Use rootdir_create_node.
    * Makefile: Add the rootdir module.

commit 80e439d146f661c416b7f42c4180b16aae7ac2f7
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 18:06:16 2010 +0000

    Set a restrictive mode on some sensitive files
    
    * process.c (process_file_make_node, entries): Set the environ
      and stat files as readable only by the owner of the process.

commit 75f53efdc66be8c6ffac31bd17a309f9065e273c
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 11:21:59 2010 +0000

    Encapsulate access to node->nn_stat
    
    * procfs.c, procfs.h (procfs_node_chown,
      procfs_node_chmod, procfs_node_chtype): New functions, encapsulate
      access to some nn_stat fields.
    * process.c (process_lookup_pid): Use procfs_node_chown instead
      of direct access.

commit a45606d0036565c468b462a207575bf2b4077fd8
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 11:09:36 2010 +0000

    Implement symlinks
    
    * netfs.c (netfs_validate_stat): For symlinks, fetch the contents
      and propagate their length into the nn_stat.st_size field.
      (netfs_attempt_readlink): Implement using procfs_get_contents.

commit 1f1661d6a5b6f22acb48460b5304e29af2a0a554
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 09:26:09 2010 +0000

    Use libps and enhance [pid]/stat
    
    * Makefile: Add libps to the $(LIBS).
    * proclist.c, proclist.h: Embed the proc server port in a
      ps_context structure. (proclist_make_node): Change to prototype to
      allow for the possibility of error.  Rename to proclist_create_node to
      reflect the change and non-triviality.
    * process.c, process.h: Revamp.  Use a full-blown procstat
      structure instead of just the procinfo fetched from the process
      server.  Use the additional data to complement [pid]/stat.
      (process_lookup_pid): Get a ps_context structure instead of a port to
      the process server.
    * main.c (root_make_node): Convert to the new interface for
      proclist_create_node.

commit 086569ee636d91a820aa23031dda3cb74bab9505
Author: Jeremie Koenig <address@hidden>
Date:   Sat Aug 21 09:25:27 2010 +0000

    Handle the ref counter spinlock on cleanup
    
    * netfs.c (netfs_node_norefs): Handle the reference counters
      spinlock so as to avoid deadlocking on reentry.

commit 2c7dcef74c3259d2d5db7a11f5c77d18d3a51e85
Author: Jeremie Koenig <address@hidden>
Date:   Thu Aug 19 23:10:11 2010 +0000

    Invent path-based inode numbers
    
    * procfs.h, procfs.c (procfs_make_ino): New function,
      invents an inode number by hashing the parent's and the name of an
      entry.  (procfs_lookup): Use it to assign an inode number to child
      nodes at lookup time.
    * main.c (root_make_node): Assign an arbitrary inode number to
      the root directory.

commit c6c770c33eb0f23e7e8e04976c711653cdf1a41d
Author: Jeremie Koenig <address@hidden>
Date:   Thu Aug 19 07:48:30 2010 +0000

    Implement lookup for . and ..
    
    * procfs.c (procfs_lookup): Keep track of the parent directory,
      implement the lookup of the dot-directories.  (procfs_cleanup):
      Release the reference to the parent node, if applicable.
    * procfs.h: Add a comment about the parent reference.
    * netfs.c (netfs_attempt_lookup): Lock the looked up node after
      the directory has been unlocked, in case they are the same.

commit 4ac169deaa1eb4c8df4a49fc940700971fa5863a
Author: Jeremie Koenig <address@hidden>
Date:   Thu Aug 19 04:52:17 2010 +0000

    Add the dot entries to directories
    
    * procfs_dir.c (procfs_dir_get_contents): Prepend the . and ..
      entries to the ones from the given table.

commit 97e598086b37583585b455d2b804b6e49d97ea85
Author: Jeremie Koenig <address@hidden>
Date:   Thu Aug 19 03:12:27 2010 +0000

    Add a basic [pid]/stat file
    
    * process.c: Add a basic stat file.

commit ef370b0967024ced9296ff2028abc1b154c0a951
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 18 21:06:08 2010 +0000

    Set the owner of process directories.
    
    * process.c (process_make_node): Use the owner_uid from the
      procinfo structure to set the owner of the created directory.

commit 56d301e212ac1964223cff8ef9c34889cb1a6e75
Author: Jeremie Koenig <address@hidden>
Date:   Wed Aug 18 20:44:54 2010 +0000

    Fuse the proclist into the root node
    
    * dircat.c, dircat.h: New files, merge directories.
    * Makefile: Add the dircat module.
    * main.c: Use dircat to merge the proclist into the root
      directory, instead of having it as a stand-alone one.
    * procfs.h, procfs.c: Add a "refresh hack" to have the
      contents of the root directory recreated on each request.
    * proclist.c (proclist_make_node): Enable the hack in question.

commit 2fb5b93b4cd56fd68b525371ba63b0933b61d03a
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 22:20:32 2010 +0000

    Fetch process information and reject the non-existing ones
    
    * process.c, process.h (process_make_node): Make static,
      include a procinfo structure into the node information.
      (process_lookup_pid): New function, replaces process_make_node as the
      outer interface, returns an error for non-existing processes.
    * proclist.c (proclist_lookup): Convert to the new interface.

commit c62d5ff73ceaad21bb0784ed6098d307a625b10d
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 20:34:58 2010 +0000

    Add real process nodes
    
    * process.c, process.h: New files, implement a process
      directory with cmdline and environ files.
    * Makefile: Add the process module.
    * proclist.c: Replace stub pid files with the real thing.

commit ba139824fa06a97f2a3b1cc4c6085d10a83ec2b9
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 17:27:54 2010 +0000

    More cleanup possibilities
    
    * procfs.c, procfs.h: Extend the signature of the
      cleanup_contents callback in the procfs_node_ops structure to include
      the hook and contents_len.  (cleanup_contents_with_free,
      cleanup_contents_with_vm_deallocate): New functions, can be used as
      a cleanup_contents callback for simple cases.
    * procfs_dir.c, procfs_dir.h (procfs_dir_make_node):
      Update, add a cleanup callback, make sure the cleanup callback is
      invoked if there is an error.
    * proclist.c (proclist_make_node), main.c (main): Update to match
      the new interfaces.

commit ac75e3648e6a9c3a8cf45d5fa491abd3a3ab3613
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 16:48:55 2010 +0000

    Fix the failure semantics of procfs_make_node
    
    * procfs.c (procfs_make_node): Invoke the cleanup callback on
      failure, so that callers don't have to.
    * procfs.h: Document the change.
    * procfs_dir.c (procfs_dir_make_node), procfs_file.c
      (procfs_file_make_node), proclist.c (proclist_make_node):
      Update to reflect the change.

commit 3907bbbcfb806799a5349e46a2b804307a0e9836
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 12:49:33 2010 +0000

    Add the list of processes as a directory
    
    * proclist.h, proclist.c: New files.
    * main.c: Add a proclist directory based on them.
    * Makefile: Include the proclist module.

commit 56ba0ac1e3a3f32763060ab862a6f0054c8a50bf
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 10:26:12 2010 +0000

    Implement simple directories
    
    * procfs_dir.h: New file; declare the procfs_dir_make_node
      function, based on the procfs_dir_entry structure.
    * procfs_dir.c: New file; implement simple directories.
    * Makefile: Add the procfs_dir module.
    * main.c: Use it.

commit 0a4c7a1ca8bff458eb11322d2c94ec9ffd832524
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 10:10:22 2010 +0000

    Add a helper module for simple regular files
    
    * procfs_file.h: New file, declares procfs_file_make_node.
    * procfs_file.c: New file, implements procfs_file_make_node.
    * main.c: Use them.
    * Makefile: Add the procfs_file module.

commit d938e96e59a41d5eaa11040513815b757e58eb0c
Author: Jeremie Koenig <address@hidden>
Date:   Tue Aug 17 09:43:29 2010 +0000

    Basic infrastructure
    
    * procfs.h: New file; basic interfaces for procfs nodes.
    * procfs.c: New file; implement the basic infrastructure.
    * netfs.c: New file; bridge libnetfs and the procfs interfaces.
    * main.c: New file; mostly a "Hello, World!" for now.
    * Makefile: New file; standalone for now.

commit 1b55547480eff13851f2d53ff96afbace11c6004
Author: Jeremie Koenig <address@hidden>
Date:   Mon Aug 16 13:36:52 2010 +0200

    Implement /proc/mounts as a symlink to /etc/mtab
    
    * procfs_nonpid_files.c (procfs_create_mounts): New function.
    * procfs_dir.c (procfs_fill_root_dir): Call procfs_create_mounts.
    
    Signed-off-by: Jeremie Koenig <address@hidden>

commit 5af547e7fc9ddc0b472b99c6bdb7341f6204e43f
Author: Jeremie Koenig <address@hidden>
Date:   Fri Aug 13 19:05:14 2010 +0200

    Set an appropriate st_mode on symlinks.
    
    * procfs_pid_files.c (update_pid_entries): When symlink_target is not NULL, 
set
    st_size to the symlink length and st_mode to S_IFLNK | 0777.

commit 5d011324a721d7cf3babfe6aa068e247c7f27f42
Author: Jeremie Koenig <address@hidden>
Date:   Fri Aug 13 19:05:13 2010 +0200

    update_pid_entries(): fix awkwardly indented uninitialized memory leak
    
    * procfs_pid_files.c (update_pid_entries): Replace dynamic allocation of
    `stat' with automatic allocation. Memset `stat' to 0.

commit d76613f23eec2a66f4727c69fcec3b5e3be3da22
Author: Thomas Schwinge <address@hidden>
Date:   Sun Aug 1 13:28:31 2010 +0200

    Switch to the new ChangeLog style.
    
    * ChangeLog: Wipe out content, and add instructions about how to get it 
back.

commit edb4593c38d421b5d538b221a991b50c36fdba15
Author: Samuel Thibault <address@hidden>
Date:   Mon May 31 02:23:00 2010 +0200

    2010-05-31  Samuel Thibault  <address@hidden>
    
            * procfs_nonpid_files.c (procfs_read_nonpid_meminfo): Print swap 
sizes
            using %llu.

commit e58f247f9c3a95ea2805fe132777d192ef51f6d1
Author: Samuel Thibault <address@hidden>
Date:   Fri Dec 12 01:48:00 2008 +0100

    2008-12-12  Samuel Thibault  <address@hidden>
    
        * procfs_nonpid_files.c (procfs_read_nonpid_meminfo): Divide by
        1024 value returned by get_swap_size and get_swap_free to get
        kilobytes.

commit 7e7201c453ad7faa5d26625ca9d263ee625ef5ed
Author: Madhusudan.C.S <address@hidden>
Date:   Tue Sep 2 00:33:00 2008 +0200

    2008-09-02  Madhusudan.C.S  <address@hidden>
    
        * netfs.c: (netfs_get_dirents): Add call to
        procfs_dir_entries_remove().

commit 7a8b315855fc8edba2003fa69cb86cf664f4c2ec
Author: Madhusudan.C.S <address@hidden>
Date:   Sat Aug 30 22:48:00 2008 +0200

    2008-08-30  Madhusudan.C.S  <address@hidden>
    
        *  procfs_dir.c: (procfs_dir_create): Assign newly created directory to
        its pointer in netnode.
        (procfs_dir_remove): Removed function.
        (free_entry): New function.
        (ordered_unlink): Likewise.
        (delete): Likewise.
        (sweep): Likewise.
        (procfs_dir_entries_remove): Likewise.
        (is_in_pid_list): Removed call to make_dir_invalid ().
        (procfs_fill_root_dir): struct stat *stat ->  struct stat stat.
        Add Read and Execute permissions to all in stat.st_mode.
        Set stat.st_nlink to 1.
        Set stat.st_size to 0.
        Add struct proc_stat *ps definition.
        Set struct proc_stat data from _proc_stat_create () function and
        set stat.st_uid and stat.st_gid from the data in that structure.
        * procfs_pid_files.c: (update_pid_entries): Add Read permissions
        to all in stat->st_mode.

commit fdd74966f222b67aa3161e809c6e9d8aacb16b12
Author: Madhusudan.C.S <address@hidden>
Date:   Sat Aug 30 22:20:00 2008 +0200

    2008-08-29  Madhusudan.C.S  <address@hidden>
    
        * AUTHORS: File removed.
        * COPYING: Likewise.
        * README: Likewise.

commit b33bac72fa26be8676a6da73e0b13f51bcd40034
Author: Madhusudan.C.S <address@hidden>
Date:   Fri Aug 29 21:34:00 2008 +0200

    2008-08-29  Madhusudan.C.S  <address@hidden>
    
        * ChangeLog: Revised.

commit 80e2bfc9ee29a5ecac3a9b8eaa2d470ae30222c9
Author: Madhusudan.C.S <address@hidden>
Date:   Fri Aug 29 18:42:00 2008 +0200

    2008-08-29  Madhusudan.C.S <address@hidden>
    
            * Makefile: (Copyright): 1997, 2000 -> 2008
            (CC): Removed.
            (CFLAGS): Removed.
            (INCLUDES): Removed.
            (all): Removed.
            ($(target)): Removed.
            (%.o): Removed.
            (HURDLIBS): -lnetfs -> netfs,
            -lfshelp -> fshelp,
            -liohelp -> iohelp, -lthreads -> threads,
            -lports -> ports, -lihash -> ihash,
            -lps -> ps,
            -lshouldbeinlibc -> shouldbeinlibc.
            (include): Add include ../Makeconf

commit 4cce52a1ec161008243f5bee63df7f6230c0f7e6
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 20:26:00 2008 +0200

    2008-08-18  Madhusudan.C.S <address@hidden>
    
            * procfs_nonpid_files.c:
            (procfs_write_nonpid_stat): Changed to
            procfs_read_nonpid_stat.
            (procfs_write_nonpid_meminfo): Changed to
            procfs_read_nonpid_meminfo.
            (procfs_write_nonpid_loadavg): Changed to
            procfs_read_nonpid_loadavg.
            (procfs_write_nonpid_uptime): Changed to
            procfs_read_nonpid_uptime.
            (procfs_write_nonpid_version):Changed to
            procfs_read_nonpid_version.
            * procfs_pid_files.c:
            (procfs_write_stat_file): Changed to
            procfs_read_stat_file.
            Changed the comment correspondingly from
            Write to Read.
            (procfs_write_cmdline_file ): Changed to
            procfs_read_cmdline_file.
            Changed the comment correspondingly from
            Write to Read.
            (procfs_write_status_file): Changed to
            procfs_read_status_file.
            Changed the comment correspondingly from
            Write to Read.
            (procfs_write_statm_file): Changed to
            procfs_read_statm_file.
            Changed the comment correspondingly from
            Write to Read.
            (procfs_write_files_contents): Changed to
            procfs_read_files_contents.
            Changed the comment correspondingly from
            Write to Read.
            Changed the call to procfs_write_nonpid_stat
            to procfs_read_nonpid_stat.
            Changed the call to procfs_write_stat_file
            to procfs_read_stat_file.
            Changed the call to procfs_write_cmdline_file
            to procfs_read_cmdline_file.
            Changed the call to procfs_write_status_file
            to procfs_read_status_file.
            Changed the call to procfs_write_statm_file
            to procfs_read_statm_file.
            Changed the call to procfs_write_nonpid_meminfo
            to procfs_read_nonpid_meminfo.
            Changed the call to procfs_write_nonpid_loadavg
            to procfs_read_nonpid_loadavg.
            Changed the call to procfs_write_nonpid_uptime
            to procfs_read_nonpid_uptime.
            Changed the call to procfs_write_nonpid_version
            to procfs_read_nonpid_version.
            netfs.c: (netfs_attempt_read): Changed
            the call from procfs_write_files_contents
            to procfs_read_files_contents.

commit 151d56afe0d7d9eb527fb0a194f383435b2c0f65
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 19:45:00 2008 +0200

    2008-08-18  Madhusudan.C.S <address@hidden>
    
            * README: Initial Documentation.

commit 5bb07a3cb626b18aedfa463b6b344bf0fd963e71
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 19:34:00 2008 +0200

    2008-08-18  Madhusudan.C.S <address@hidden>
    
            * procfs_nonpid_files.c: (get_uptime):
            Changed the parameter type from double to
            struct timeval.
            Changed the parameter name from uptime_secs
            to uptime.
            Removed uptime variable.
            Changed timersub to use the passed pointer
            instead of the local variable.
            Removed the calculation of uptime_secs.
            (get_total_times): Changed the parameters
            type from double to struct timeval.
            Changed the parameters name from
            total_user_time_secs to total_user_time
            and total_system_time_secs to
            total_system_time.
            New variables total_user_time_tmp,
            total_system_time_tmp and tmpval of type
            struct timeval.
            Call timerclear to clear the tmp variables.
            Remove calculation of times in seconds and
            do the same on struct timeval variables
            throughout using the timeradd macro.
            Assign values of temporary local variables
            to the pointers passed as parameters.
            (procfs_write_nonpid_stat): Replaced
            variables that hold time in seconds with
            struct timeval type variables and jiffy_t
            type variables.
            Argument to get_uptime changed from
            uptime_secs to uptime.
            Arguments to get_total_times changed from
            total_user_time_secs to total_user_time and
            total_system_time_secs to total_system_time.
            Replace arithematic time subtraction with
            timersub macro.
            Convert all the times in struct timeval type
            variables to jiffy_t type.
            Changed the type casting for the asprintf
            arguments to be compatible with jiffy_t type.
            (procfs_write_nonpid_uptime): Replaced
            variables that hold time in seconds with
            struct timeval type variables.
            Argument to get_uptime changed from
            uptime_secs to uptime.
            Arguments to get_total_times changed from
            total_user_time_secs to total_user_time and
            total_system_time_secs to total_system_time.
            Replace arithematic time subtraction with
            timersub macro.
            Convert all the times in struct timeval type
            variables to seconds.

commit a027dcc41d381a3c76a5b20d4d55ad9821af2308
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 17:27:00 2008 +0200

    2008-08-18  Madhusudan.C.S <address@hidden>
    
            * procfs_nonpid_files.c:
            (procfs_write_nonpid_version): New function.
            * procfs_pid_files.c:
            (procfs_write_files_contents): Add a check
            to find if the read is requested for the
            version file and corresponding a call to it.

commit 0419c2813a91d0746cc70f4ecab33efca4b9440c
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 17:15:00 2008 +0200

    2008-08-14  Madhusudan.C.S <address@hidden>
    
            * procfs.h: (jiffy_t): New typedef.
            * procfs_pid.h: "procfs.h" is included.
            (struct procfs_pid_files): Changed all the
            occurrences of time_t to jiffy_t.
            * procfs_pid_files.c: Removed "procfs.h".
            (adjust_jiffy_time): Changed return type
            from time_t to jiffy_t.
            Changed the type of jiffy_time variable
            from time_t to jiffy_t.
            (get_live_threads_time): Changed the type
            of utime and stime from time_t to jiffy_t.
            (get_stat_data): Changed the type of utime
            and stime from time_t to jiffy_t.

commit 802ea16ef91b30bc4fa9a61779b5c3602219bb1d
Author: Madhusudan.C.S <address@hidden>
Date:   Mon Aug 18 16:53:00 2008 +0200

    2008-08-18  Madhusudan.C.S <address@hidden>
    
    * procfs/ChangeLog: ChangeLog: Revised.

commit c15f3bee8d46f05afe1d3f582778d74c7e706485
Author: Madhusudan.C.S <address@hidden>
Date:   Thu Aug 14 15:24:00 2008 +0200

    2008-08-14  Madhusudan.C.S <address@hidden>
    
    * ChangeLog: New file added to procfs
    * AUTHORS: New file added to procfs
    * COPYING: New file added to procfs
    * README: New file added to procfs
    * Makefile: New file added to procfs
    * bootstrap.c: New file added to procfs
    * netfs.c: New file added to procfs
    * node.c: New file added to procfs
    * procfs.c: New file added to procfs
    * procfs.h: New file added to procfs
    * procfs_dir.c: New file added to procfs
    * procfs_nonpid_files.c: New file added to procfs
    * procfs_pid.h: New file added to procfs
    * procfs_pid_files.c: New file added to procfs

-----------------------------------------------------------------------

Summary of changes:
 Makefile                                         |    1 +
 procfs/ChangeLog                                 |    6 +
 {hostmux => procfs}/Makefile                     |   16 +-
 procfs/TODO                                      |   24 +
 procfs/dircat.c                                  |  128 +++++
 libdiskfs/opts-get.c => procfs/dircat.h          |   23 +-
 procfs/main.c                                    |  315 ++++++++++
 libdiskfs/opts-get.c => procfs/main.h            |   19 +-
 procfs/netfs.c                                   |  461 +++++++++++++++
 procfs/process.c                                 |  414 ++++++++++++++
 libdiskfs/opts-set.c => procfs/process.h         |   23 +-
 procfs/procfs.c                                  |  219 +++++++
 procfs/procfs.h                                  |   99 ++++
 procfs/procfs_dir.c                              |  134 +++++
 procfs/procfs_dir.h                              |   63 ++
 procfs/proclist.c                                |   94 +++
 libnetfs/std-runtime-argp.c => procfs/proclist.h |   11 +-
 procfs/rootdir.c                                 |  661 ++++++++++++++++++++++
 libnetfs/std-runtime-argp.c => procfs/rootdir.h  |   11 +-
 19 files changed, 2667 insertions(+), 55 deletions(-)
 create mode 100644 procfs/ChangeLog
 copy {hostmux => procfs}/Makefile (65%)
 create mode 100644 procfs/TODO
 create mode 100644 procfs/dircat.c
 copy libdiskfs/opts-get.c => procfs/dircat.h (50%)
 create mode 100644 procfs/main.c
 copy libdiskfs/opts-get.c => procfs/main.h (72%)
 create mode 100644 procfs/netfs.c
 create mode 100644 procfs/process.c
 copy libdiskfs/opts-set.c => procfs/process.h (64%)
 create mode 100644 procfs/procfs.c
 create mode 100644 procfs/procfs.h
 create mode 100644 procfs/procfs_dir.c
 create mode 100644 procfs/procfs_dir.h
 create mode 100644 procfs/proclist.c
 copy libnetfs/std-runtime-argp.c => procfs/proclist.h (79%)
 create mode 100644 procfs/rootdir.c
 copy libnetfs/std-runtime-argp.c => procfs/rootdir.h (79%)


hooks/post-receive
-- 
Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]