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); } --
| Andrew Morton | -mm merge plans for 2.6.23 |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 023/196] MCP_UCB1200: Convert from class_device to device |
git: | |
| David Miller | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 31/37] dccp: Remove manual influence on NDP Count feature |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
