serge@hallyn.com wrote:Oh dear .. more investigation... here's the source from libcap-1.92. capget() is being called with null arguments, which I guess returns with the latest version in ch.version ? The switch then fails and the set gets called with version = 0 ?? Cheers David void _libcap_establish_api(void) { struct __user_cap_header_struct ch; struct __user_cap_data_struct cs; if (_libcap_kernel_version) { _cap_debug("already identified kernal api 0x%.8x", _libcap_kernel_version); return; } memset(&ch, 0, sizeof(ch)); memset(&cs, 0, sizeof(cs)); (void) capget(&ch, &cs); switch (ch.version) { case 0x19980330: _libcap_kernel_version = 0x19980330; _libcap_kernel_features = CAP_FEATURE_PROC; break; case 0x19990414: _libcap_kernel_version = 0x19990414; _libcap_kernel_features = CAP_FEATURE_PROC|CAP_FEATURE_FILE; break; default: _libcap_kernel_version = 0x00000000; _libcap_kernel_features = 0x00000000; } _cap_debug("version: %x, features: %x\n", _libcap_kernel_version, _libcap_kernel_features); } --
| jmerkey | [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released |
| Valdis.Kletnieks | Re: [RFC/PATCH] Documentation of kernel messages |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Christoph Lameter | [04/14] vcompound: Core piece |
git: | |
| Ken Pratt | pack operation is thrashing my server |
| Peter Stahlir | Git as a filesystem |
| Kyle Moffett | Using GIT to store /etc (Or: How to make GIT store all file permission bits) |
| Francis Moreau | What about git cp ? |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Girish Venkatachalam | Ethernet jumbo frames? |
| L. V. Lammert | Re: How to find all package files |
| Christoph Hellwig | Re: silent semantic changes with reiser4 |
| Al Boldi | Re: [RFD] Incremental fsck |
| Jens Axboe | Re: [PATCH][RFC] fast file mapping for loop |
| Ian Kent | Re: [PATCH 2/4] autofs4 - track uid and gid of last mount requester |
