All of lore.kernel.org
 help / color / mirror / Atom feed
* exit() vs _exit()
@ 2017-06-29  1:31 Ruediger Meier
  2017-06-29  8:03 ` Karel Zak
  2017-06-29 11:08 ` Karel Zak
  0 siblings, 2 replies; 3+ messages in thread
From: Ruediger Meier @ 2017-06-29  1:31 UTC (permalink / raw)
  To: util-linux

Hi,

I've noticed we have some exit() calls in the libs,

e.g. in exec_helper()

  libmount/src/context_mount.c
  libmount/src/context_umount.c

Is this really ok or shouldn't we use _exit() there?

cu,
Rudi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exit() vs _exit()
  2017-06-29  1:31 exit() vs _exit() Ruediger Meier
@ 2017-06-29  8:03 ` Karel Zak
  2017-06-29 11:08 ` Karel Zak
  1 sibling, 0 replies; 3+ messages in thread
From: Karel Zak @ 2017-06-29  8:03 UTC (permalink / raw)
  To: Ruediger Meier; +Cc: util-linux

On Thu, Jun 29, 2017 at 03:31:04AM +0200, Ruediger Meier wrote:
> Hi,
> 
> I've noticed we have some exit() calls in the libs,
> 
> e.g. in exec_helper()
> 
>   libmount/src/context_mount.c
>   libmount/src/context_umount.c
> 
> Is this really ok or shouldn't we use _exit() there?

I think _exit() is better in this case.

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exit() vs _exit()
  2017-06-29  1:31 exit() vs _exit() Ruediger Meier
  2017-06-29  8:03 ` Karel Zak
@ 2017-06-29 11:08 ` Karel Zak
  1 sibling, 0 replies; 3+ messages in thread
From: Karel Zak @ 2017-06-29 11:08 UTC (permalink / raw)
  To: Ruediger Meier; +Cc: util-linux

On Thu, Jun 29, 2017 at 03:31:04AM +0200, Ruediger Meier wrote:
>   libmount/src/context_mount.c
>   libmount/src/context_umount.c
> 
> Is this really ok or shouldn't we use _exit() there?

Fixed, thanks.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-29 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29  1:31 exit() vs _exit() Ruediger Meier
2017-06-29  8:03 ` Karel Zak
2017-06-29 11:08 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.