Cause server abort on drmSetMaster failure

Currently armsoc spits an error message, but otherwise just ignores the
fact that it couldn't set itself as DRM master.  This will lead to various
strange crashes later as all subsequent drm ioctls fail.

Instead, if we just return FALSE from EnterVT() immediately, the server
will terminate in a slightly more predictable way.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

BUG=chromium-os:38551
TEST=See steps in crosbug.com/38551
  Xorg should terminate immediately after the following message, instead
  of trying and failing many ioctls and possibly seg-faulting later:
 (EE) ARMSOC(0): ERROR: Cannot get DRM master:  Invalid argument

Change-Id: Id9f59253a935f92f46bcd2849ad4b98532d0fdab
Reviewed-on: https://gerrit.chromium.org/gerrit/42595
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
1 file changed