What not to be doing - syscall()

Adriaan de Groot adridg at cs.kun.nl
Tue Dec 23 23:16:55 GMT 2003

On Tuesday 23 December 2003 00:09, Daniel Stone wrote:
> There are more instances in kdeadmin/kuser/quota.cpp,

Yes indeed:

#    include <syscall.h>

int quotactl(int cmd, const char * special, int id, caddr_t addr) {
  return syscall(SYS_quotactl, cmd, special, id, addr);

#  endif

that seems pretty safely #ifdeffed. If there are linux systems without quota.h 
and without quotactl in their libc, then .. maybe quota support should just 
be turned off instead. But do such beasts exist? uLinux, perhaps?

pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
            If the door is ajar, can we fill it with door-jamb?

More information about the kde-core-devel mailing list