~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_dripriv.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_dripriv.h,v 1.4 2002/10/30 12:52:13 alanh Exp $ */
 
2
/*
 
3
 * Copyright 2000 ATI Technologies Inc., Markham, Ontario,
 
4
 *                VA Linux Systems Inc., Fremont, California.
 
5
 *
 
6
 * All Rights Reserved.
 
7
 *
 
8
 * Permission is hereby granted, free of charge, to any person obtaining
 
9
 * a copy of this software and associated documentation files (the
 
10
 * "Software"), to deal in the Software without restriction, including
 
11
 * without limitation on the rights to use, copy, modify, merge,
 
12
 * publish, distribute, sublicense, and/or sell copies of the Software,
 
13
 * and to permit persons to whom the Software is furnished to do so,
 
14
 * subject to the following conditions:
 
15
 *
 
16
 * The above copyright notice and this permission notice (including the
 
17
 * next paragraph) shall be included in all copies or substantial
 
18
 * portions of the Software.
 
19
 *
 
20
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
21
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
22
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
23
 * NON-INFRINGEMENT.  IN NO EVENT SHALL ATI, VA LINUX SYSTEMS AND/OR
 
24
 * THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 
25
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 
26
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 
27
 * DEALINGS IN THE SOFTWARE.
 
28
 */
 
29
 
 
30
/*
 
31
 * Authors:
 
32
 *   Kevin E. Martin <martin@xfree86.org>
 
33
 *   Rickard E. Faith <faith@valinux.com>
 
34
 *
 
35
 */
 
36
 
 
37
#ifndef _RADEON_DRIPRIV_H_
 
38
#define _RADEON_DRIPRIV_H_
 
39
 
 
40
#include "GL/glxint.h"
 
41
#include "xf86drm.h"
 
42
#include "radeon_common.h"
 
43
 
 
44
#define RADEON_MAX_DRAWABLES 256
 
45
 
 
46
extern void GlxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs,
 
47
                                void **configprivs);
 
48
 
 
49
typedef struct {
 
50
    /* Nothing here yet */
 
51
    int dummy;
 
52
} RADEONConfigPrivRec, *RADEONConfigPrivPtr;
 
53
 
 
54
typedef struct {
 
55
#ifdef PER_CONTEXT_SAREA
 
56
    drmContext ctx_id;
 
57
    drmHandle sarea_handle;
 
58
#else
 
59
    /* Nothing here yet */
 
60
    int dummy;
 
61
#endif
 
62
} RADEONDRIContextRec, *RADEONDRIContextPtr;
 
63
 
 
64
#endif