Skip to content

Applications that call the C library `getlogin` function, in a gitlab.com runner, crash

I dont know if this is a bug or a restriction but I've observed that an application that call the C library getlogin function, in a job, crashes.

A first case of crash, log for this code. As this happens with a compiler that's not ready for production I've reproduced the problem with a well establiched one: second case of crash (can be used to reproduce the problem), log for this code. Naturally both work locally.

If this is not a bug this behavior should be documented. Also if that crashes because a certain syscall is intercepted then maybe that something should be printed in log, e.g "syscall ... not allowed on gitlab.com runner".